package
Version:
v0.1.0
Opens a new window with list of versions in this module.
Published: Dec 3, 2019
License: GPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
GetTablePrefix - Get the table name prefix
func SetTablePrefix(prefix string)
SetTablePrefix - Set the table name prefix
func ToString(v interface{}) string
type Model struct {
ID uint `gorm:"column:id;primary_key;auto_increment;"`
CreatedAt time.Time `gorm:"column:created_at;"`
UpdatedAt time.Time `gorm:"column:updated_at;"`
DeletedAt *time.Time `gorm:"column:deleted_at;index;"`
}
Model base model
Source Files
¶
Click to show internal directories.
Click to hide internal directories.