Documentation
¶
Index ¶
- Variables
- func Generate(templateParser *Parser, savePath, packageName string) ([]byte, error)
- func GenerateProxyEvents(savePath, packageName string) ([]byte, error)
- func GenerateProxyHooks(templateParser *Parser, savePath, packageName string) ([]byte, error)
- func GenerateUtils(templateParser *Parser, savePath, packageName string) ([]byte, error)
- func ParseSchemaJson(filepath string, includeSystem bool) ([]*core.Collection, error)
- func QuerySchema(dataDir string, includeSystem bool) ([]*core.Collection, error)
- func Template(collections []*core.Collection, savePath, packageName string) ([]byte, error)
- type Field
- type Importer
- type Parser
- type RelationType
- type SchemaTranslator
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrEmbeddedField = errors.New("Generation failed because the `%v` template struct contains an anonymous embedded field.")
)
Functions ¶
func GenerateProxyEvents ¶
func GenerateProxyHooks ¶
func GenerateUtils ¶
func ParseSchemaJson ¶
func ParseSchemaJson(filepath string, includeSystem bool) ([]*core.Collection, error)
func QuerySchema ¶
func QuerySchema(dataDir string, includeSystem bool) ([]*core.Collection, error)
Types ¶
type Parser ¶
func NewTemplateParser ¶
type RelationType ¶
type RelationType int
type SchemaTranslator ¶
type SchemaTranslator struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.