Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvSettings ¶
type EnvSettings struct { AppDirName string `yaml:"app_dir_name"` ApiDirName string `yaml:"api_dir_name"` Namespace string `yaml:"namespace"` // only gen api or gen mono repo scaffold is active TemplatePath string `yaml:"template_path"` // TODO PolicyIfExistsTarget PolicyIfExistsTarget `yaml:"policy_if_exists_target"` FieldStyle string `yaml:"field_style"` PrimaryKey string `yaml:"primary_key"` }
func New ¶
func New() *EnvSettings
func (*EnvSettings) AddFlags ¶
func (s *EnvSettings) AddFlags(fs *pflag.FlagSet)
type PolicyIfExistsTarget ¶
type PolicyIfExistsTarget int
const ( RewriteIfExistsTarget PolicyIfExistsTarget = iota SkipIfExistsTarget ExitIfExistsTarget )
Click to show internal directories.
Click to hide internal directories.