Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TimeNow = time.Now
Functions ¶
Types ¶
type Connector ¶
type Generate ¶
type Generate struct {
Name string `short:"N" long:"name" description:"view DbName/route URI" `
Table string `short:"T" long:"table" description:"table" `
SQLLocation string `short:"S" long:"sql" description:"SQL location" `
SQLXLocation string `short:"X" long:"sqlx" description:"SQLX (extension for relation) location" `
Relations []string `short:"R" long:"relation" description:"relation in form of viewName:tableName" `
}
type Options ¶
type Options struct {
Port int `short:"p" long:"port" description:"port" `
RouteURL string `short:"r" long:"mode" description:"route URL" `
DependencyURL string `short:"d" long:"deps" description:"dependencies URL" `
ConfigURL string `short:"c" long:"config" description:"configuration URL" `
WriteLocation string `short:"w" long:"write" description:"dump all config files to specified location" `
Generate
Connector
Content
OpenApiURL string `short:"o" long:"openapi"`
}
func (*Options) ResponseField ¶ added in v0.2.1
Source Files
¶
Click to show internal directories.
Click to hide internal directories.