Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateConfigFile ¶
CreateConfigFile is the function that creates the config file in the user filesystem if it doesn't exist.
func CreateStructure ¶
CreateStructure is the function used to create the configuration for the current command, create the repository and execute the templates inside.
func ExecuteTemplate ¶
func ExecuteTemplate(config interface{}, outputName string, path string, templateString string) error
ExecuteTemplate takes a config, file string and computes it into a file
func GetEntitiesList ¶
func GetEntitiesList() []string
GetEntitiesList returns a slice of strings with all the entities names found in the models/ dir
func GetTypeOptions ¶
func GetTypeOptions() []string
GetTypeOptions returns a list of strings for user prompt of data types when creating new models
Types ¶
Click to show internal directories.
Click to hide internal directories.