Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { RootPkg string `toml:"RootPkg"` // Root package name for the project Models struct { Pkg string `toml:"Pkg"` // absolute package name where models are located Skip []string `toml:"Skip"` // Slice of models(Structs) to skip } `toml:"Models"` Output struct { ServiceName string `toml:"ServiceName"` // simple name for the services default: services HandlersName string `toml:"HandlersName"` // simple name for the handlers default: handlers OutDir string `toml:"OutDir"` // Directory where to create new packages: default "." } `toml:"Output"` Overrides Overrides `toml:"overrides"` }
Config struct represents the configuration parameters
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.