Documentation ¶
Index ¶
Constants ¶
View Source
const Version = "v0.4.6"
Variables ¶
View Source
var ScalarMap = map[string]string{
"ID": "string",
"String": "string",
"Int": "int",
"Float": "float64",
"Boolean": "bool",
}
Functions ¶
Types ¶
type Generator ¶
type Generator struct { Version string PackageName string GenHeaderComments bool Sources []*ast.Source Schema *ast.Schema Models *Models ServiceName string // TODO move to models Imports map[string]string // package->alias Query *Query Enums []*Enum Interfaces []*Interface }
func NewGenerator ¶ added in v0.1.1
func (*Generator) LoadSchema ¶
Click to show internal directories.
Click to hide internal directories.