Documentation
¶
Overview ¶
Code generated by Ice-cream-maker DO NOT EDIT.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OriginNames ¶
func OriginNames() []string
OriginNames returns a list of possible string values of Origin.
Types ¶
type HttpReqTemplate_Update ¶
type HttpReqTemplate_Update = Template_update
type HttpRsp_Template ¶
type HttpRsp_Template struct { Template `json:",inline"` Commands []TemplateCommand `json:"commands,omitempty"` }
type HttpRsp_TemplateCommand ¶
type HttpRsp_TemplateCommand = TemplateCommand
type Origin ¶
type Origin int
ENUM( none predefined system
)
func ParseOrigin ¶
ParseOrigin attempts to convert a string to a Origin.
type Template ¶
type Template struct { Id uint64 `column:"id" json:"id,omitempty"` // pk Uuid string `column:"uuid" json:"uuid,omitempty"` // uuid Name string `column:"name" json:"name,omitempty"` Summary vanilla.NullString `column:"summary" json:"summary,omitempty" swaggertype:"string"` Origin string `column:"origin" json:"origin,omitempty"` Created time.Time `column:"created" json:"created,omitempty"` Updated vanilla.NullTime `column:"updated" json:"updated,omitempty" swaggertype:"string"` Deleted vanilla.NullTime `column:"deleted" json:"deleted,omitempty" swaggertype:"string"` }
func (Template) ColumnNames ¶
type TemplateCommand ¶
type TemplateCommand struct { Id uint64 `column:"id" json:"id,omitempty"` // pk Uuid string `column:"uuid" json:"uuid,omitempty"` // uuid Name string `column:"name" json:"name,omitempty"` Summary vanilla.NullString `column:"summary" json:"summary,omitempty" swaggertype:"string"` TemplateUuid string `column:"template_uuid" json:"template_uuid"` Sequence int `column:"sequence" json:"sequence,omitempty"` Method string `column:"method" json:"method,omitempty"` Args vanilla.NullObject `column:"args" json:"args,omitempty" swaggertype:"object"` ResultFilter vanilla.NullString `column:"result_filter" json:"result_filter,omitempty" swaggertype:"string"` Created time.Time `column:"created" json:"created,omitempty"` Updated vanilla.NullTime `column:"updated" json:"updated,omitempty" swaggertype:"string"` Deleted vanilla.NullTime `column:"deleted" json:"deleted,omitempty" swaggertype:"string"` }
func (TemplateCommand) ColumnNames ¶
func (TemplateCommand) ColumnNames() []string
func (*TemplateCommand) Ptrs ¶
func (row *TemplateCommand) Ptrs() []interface{}
func (*TemplateCommand) Scan ¶
func (row *TemplateCommand) Scan(scanner Scanner) error
func (TemplateCommand) TableName ¶
func (TemplateCommand) TableName() string
func (TemplateCommand) Values ¶
func (row TemplateCommand) Values() []interface{}
type Template_update ¶
type Template_update struct { Name string `column:"name" json:"name,omitempty"` Summary vanilla.NullString `column:"summary" json:"summary,omitempty" swaggertype:"string"` Origin string `column:"origin" json:"origin,omitempty"` }
Click to show internal directories.
Click to hide internal directories.