Documentation
¶
Index ¶
- func CreateEntry(filename string, existingIdentifiers []string) error
- func EnsureConfigFoldersExists() ([]byte, bool)
- func GenerateTemplate(config Generators, runtimeFlags RuntimeFlags)
- func GetGogenBasePath() string
- func GetGogenConfigFilePath() string
- func GetGogenTemplatesFolderPath() string
- func WriteConfig(yamlStructure YamlStructure) error
- type Generators
- type RuntimeFlags
- type Settings
- type YamlStructure
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateEntry ¶
func GenerateTemplate ¶
func GenerateTemplate(config Generators, runtimeFlags RuntimeFlags)
func GetGogenBasePath ¶
func GetGogenBasePath() string
func GetGogenConfigFilePath ¶
func GetGogenConfigFilePath() string
func GetGogenTemplatesFolderPath ¶
func GetGogenTemplatesFolderPath() string
func WriteConfig ¶
func WriteConfig(yamlStructure YamlStructure) error
Types ¶
type Generators ¶
func IdentifyGenerator ¶
func IdentifyGenerator(identifier string) (Generators, []string, error)
type RuntimeFlags ¶
type RuntimeFlags struct {
VerboseMode bool
}
type YamlStructure ¶
type YamlStructure struct { Settings Settings Generators []Generators }
func GetConfig ¶
func GetConfig() YamlStructure
Click to show internal directories.
Click to hide internal directories.