Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( IgnoreField = map[string]bool{ "id": true, "created_at": true, "updated_at": true, "deleted_at": true, } FieldTypeMapping = map[string]string{ "varchar": "string", "text": "string", "timestamp": "*LocalTime", "bigint": "int64", "int": "int32", "tinyint": "int8", "float": "float64", "decimal": "string", "longtext": "string", "image": "string", } )
Functions ¶
This section is empty.
Types ¶
type MakeBaseCommand ¶ added in v0.1.2
type MakeBaseCommand struct { GroupId string // contains filtered or unexported fields }
func (*MakeBaseCommand) Command ¶ added in v0.1.2
func (m *MakeBaseCommand) Command() *cobra.Command
func (*MakeBaseCommand) Run ¶ added in v0.1.2
func (m *MakeBaseCommand) Run(cmd *cobra.Command, args []string)
func (*MakeBaseCommand) SetGroupId ¶ added in v0.1.2
func (m *MakeBaseCommand) SetGroupId(groupId string)
func (*MakeBaseCommand) SetMakeName ¶ added in v0.1.2
func (m *MakeBaseCommand) SetMakeName(str string)
func (*MakeBaseCommand) SetTmpFunc ¶ added in v0.1.2
func (m *MakeBaseCommand) SetTmpFunc(fn tmpFunc)
type MakeControllerCommand ¶ added in v0.1.2
type MakeControllerCommand struct {
MakeBaseCommand
}
func NewMakeControllerCommand ¶ added in v0.1.2
func NewMakeControllerCommand(gId string) *MakeControllerCommand
type MakeEventCommand ¶ added in v0.1.2
type MakeEventCommand struct {
MakeBaseCommand
}
func NewMakeEventCommand ¶ added in v0.1.2
func NewMakeEventCommand(gId string) *MakeEventCommand
type MakeListenerCommand ¶ added in v0.1.2
type MakeListenerCommand struct {
MakeBaseCommand
}
func NewMakeListenerCommand ¶ added in v0.1.2
func NewMakeListenerCommand(gId string) *MakeListenerCommand
type MakeModelCommand ¶ added in v0.1.2
type MakeModelCommand struct {
MakeBaseCommand
}
func NewMakeModelCommand ¶ added in v0.1.2
func NewMakeModelCommand(gId string) *MakeModelCommand
func (*MakeModelCommand) Command ¶ added in v0.1.2
func (m *MakeModelCommand) Command() *cobra.Command
type MakeRepositoryCommand ¶ added in v0.1.2
type MakeRepositoryCommand struct {
MakeBaseCommand
}
func NewMakeRepositoryCommand ¶ added in v0.1.2
func NewMakeRepositoryCommand(gId string) *MakeRepositoryCommand
type MakeRequestCommand ¶ added in v0.1.2
type MakeRequestCommand struct {
MakeBaseCommand
}
func NewMakeRequestCommand ¶ added in v0.1.2
func NewMakeRequestCommand(gId string) *MakeRequestCommand
type MakeValidatorCommand ¶
type MakeValidatorCommand struct {
MakeBaseCommand
}
func NewMakeValidatorCommand ¶ added in v0.1.2
func NewMakeValidatorCommand(groupId string) *MakeValidatorCommand
Click to show internal directories.
Click to hide internal directories.