Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { PreloadAll bool `toml:"PreloadAll"` // Preload all the relations Models struct { Pkgs []string `toml:"Pkgs"` // absolute package names where models are located Skip []string `toml:"Skip"` // Slice of models(Structs) to skip ReadOnly []string `toml:"ReadOnly"` // For SQL Views } `toml:"Models"` Output struct { ServiceName string `toml:"ServiceName"` // simple name for the services default: services OutDir string `toml:"OutDir"` // Directory where to create new packages: default "." } `toml:"Output"` Overrides Overrides `toml:"overrides"` PreloadDepth uint `toml:"PreloadDepth"` // Preload depth for nested relations }
Config struct represents the configuration parameters
func LoadConfig ¶
Click to show internal directories.
Click to hide internal directories.