Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewPostgres ¶
func ParsePostgresLogLevel ¶
Types ¶
type BaseModelSoftDelete ¶
type BaseModelSoftDelete struct {
ID int64 `gorm:"primarykey" json:"id"`
CreatedAt time.Time `gorm:"not null;autoCreateTime" json:"created_at"`
UpdatedAt time.Time `gorm:"not null;autoUpdateTime" json:"updated_at"`
DeletedAt soft_delete.DeletedAt `gorm:"not null;default:0;softDelete:milli" json:"deleted_at" ch:"deleted_at"`
}
Click to show internal directories.
Click to hide internal directories.