Documentation ¶
Index ¶
- func Run(datasource string, drive string, modelCode string)
- type CommonMethod
- func (c *CommonMethod) Create(ctx context.Context, tx *gorm.DB) error
- func (c *CommonMethod) Delete(ctx context.Context, tx *gorm.DB, conds ...gen.Condition) error
- func (c *CommonMethod) MarshalBinary() (data []byte, err error)
- func (c *CommonMethod) String() string
- func (c *CommonMethod) UnmarshalBinary(data []byte) error
- func (c *CommonMethod) Update(ctx context.Context, tx *gorm.DB, conds ...gen.Condition) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommonMethod ¶
type CommonMethod struct {
ID uint32
}
CommonMethod common method
func (*CommonMethod) MarshalBinary ¶
func (c *CommonMethod) MarshalBinary() (data []byte, err error)
MarshalBinary json marshal
func (*CommonMethod) UnmarshalBinary ¶
func (c *CommonMethod) UnmarshalBinary(data []byte) error
UnmarshalBinary json unmarshal
Click to show internal directories.
Click to hide internal directories.