generator

package
v0.3.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package generator has the code used by the cosmwasm-go codegen!

Index

Constants

View Source
const (
	ORMTag        = "orm"
	PrimaryKeyTag = "primaryKey"
)

Variables

This section is empty.

Functions

func MapState

func MapState(pkg string, o interface{}) (*mapState, error)

Types

type Generator

type Generator struct {
	*protogen.GeneratedFile
}

func NewGenerator

func NewGenerator() *Generator

func (*Generator) WriteTo

func (g *Generator) WriteTo(path string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL