Documentation
¶
Overview ¶
*
@author: taco @Date: 2023/8/15 @Time: 10:37
*
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGormZapLogger ¶
func NewGormZapLogger() gormLogger.Interface
func NewPgDbClient ¶
func NewPgDbClient(c *PgDbConfig) (*gorm.DB, error)
Types ¶
type BaseAdminModel ¶
type BaseTenantModel ¶
type PgDbConfig ¶
type UniqueIdAdminModel ¶
type UniqueIdAdminModel struct {
CreatedBy string `gorm:"index:idx_created_by;column:created_by;comment:创建者;type: varchar(255)" json:"createdBy"`
UpdatedBy string `gorm:"index:idx_created_by;column:updated_by;comment:更新者;type: varchar(255)" json:"updatedBy"`
DeletedBy string `gorm:"index:idx_created_by;column:deleted_by;comment:删除者;type: varchar(255)" json:"deletedBy"`
}
Click to show internal directories.
Click to hide internal directories.