Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Database = `` /* 1328-byte string literal not displayed */
View Source
var Dockerfile = `` /* 626-byte string literal not displayed */
View Source
var Filters = `` /* 2096-byte string literal not displayed */
View Source
var GQLGen = `` /* 706-byte string literal not displayed */
View Source
var Keys = `package gen
import (
)
type key int
const (
KeyPrincipalID key = iota
)
`
View Source
var Model = `package gen
import (
"time"
"github.com/maiguangyang/graphql/resolvers"
)
{{range $object := .Model.Objects}}
type {{.Name}}ResultType struct {
resolvers.EntityResultType
}
type {{.Name}} struct {
{{range $col := $object.Columns}}
{{$col.MethodName}} {{$col.GoType}} ` + "`" + `{{$col.ModelTags}}` + "`" + `{{end}}
{{range $rel := $object.Relationships}}
{{$rel.MethodName}} {{$rel.GoType}} ` + "`" + `{{$rel.ModelTags}}` + "`" + `
{{end}}
}
{{end}}
`
View Source
var QueryFilters = `` /* 1957-byte string literal not displayed */
View Source
var Resolver = `` /* 5069-byte string literal not displayed */
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.