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 NewTransactionRepo ¶
func NewTransactionRepo(rw *gorm.DB) (repo.ITransactionRepo, error)
NewTransactionRepo create and return a new transactionRepo.
Types ¶
type TimestampSerializer ¶
type TimestampSerializer struct{}
TimestampSerializer handles serialization for google.protobuf.Timestamp
Click to show internal directories.
Click to hide internal directories.