Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewClient ¶
func NewClient(app *configx.Application) (*gorm.DB, error)
NewClient init mysql client.
func NewOrderRepo ¶
NewOrderRepo create and return a new gormOrderRepo.
Types ¶
type TimestampSerializer ¶
type TimestampSerializer struct{}
TimestampSerializer handles serialization for google.protobuf.Timestamp
Click to show internal directories.
Click to hide internal directories.