Documentation ¶
Index ¶
- Variables
- func ExecFileTemplate(fn string, tmpl string, vars any)
- func InitGit(outDir string)
- func Project(outDir string, pkgName string, dbName string, flavor string, ...)
- func Schema(ctx context.Context, db string, format string, create bool, stdout bool) error
- type Collection
- type JSONToGo
- type JSONToJava
- type JSONToLangType
- type JSONToTypeScript
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrUnknownScaffoldType = fmt.Errorf("unknown scaffold template")
View Source
var (
ErrUnsupportedFormat = fmt.Errorf("unsupported format. supported formats are: JSON, TypeScript, Go, Java")
)
View Source
var ErrUnsupportedSchemaTemplate = fmt.Errorf("unknown bootstrap schema template")
Functions ¶
func ExecFileTemplate ¶
Types ¶
type Collection ¶
type JSONToJava ¶
type JSONToJava struct{}
func (*JSONToJava) HasTime ¶
func (*JSONToJava) HasTime(schema string) bool
func (*JSONToJava) HasUUID ¶
func (*JSONToJava) HasUUID(schema string) bool
type JSONToLangType ¶
type JSONToTypeScript ¶
type JSONToTypeScript struct{}
func (*JSONToTypeScript) HasTime ¶
func (*JSONToTypeScript) HasTime(schema string) bool
func (*JSONToTypeScript) HasUUID ¶
func (*JSONToTypeScript) HasUUID(schema string) bool
Click to show internal directories.
Click to hide internal directories.