Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var AppDir = "./"
Functions ¶
This section is empty.
Types ¶
type AndiFactory ¶
func GenerateFactorySurvey ¶
func GenerateFactorySurvey() (answers AndiFactory, err error)
type AndiModel ¶
type AndiModel struct { Module string Name string Package string ApiVersion string AuthType string }
func GenerateModelSurvey ¶
type Application ¶
type Application struct { Type string // application type api, front Name string // application name Auth bool // secure application api true|false AuthType string // auth type jwt|oidc Port string // application port DatabaseType string `mapstructure:"database-type"` // application database-type }
func InitSurvey ¶
func InitSurvey() (answers Application, err error)
type GeneralConfig ¶
type GeneralConfig struct { App Application `mapstructure:"application"` Models []Model `mapstructure:"models"` }
var AppConfs GeneralConfig
Click to show internal directories.
Click to hide internal directories.