package
Version:
v0.0.0-...-00b94a8
Opens a new window with list of versions in this module.
Published: Nov 3, 2021
License: MIT
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type County struct {
ID uint `gorm:"primaryKey" json:"id"`
Name string `gorm:"type:varchar(50);not null" json:"name"`
ProvinceID uint `gorm:"not null" json:"province_id"`
CreatedAt time.Time `json:"-"`
UpdatedAt time.Time `json:"-"`
}
type Tabler interface {
TableName() string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.