Update model_snake.go
This commit is contained in:
parent
1a99c7bd1e
commit
82347e8967
@ -7,7 +7,7 @@ import "time"
|
|||||||
// gorm.ModelSC
|
// gorm.ModelSC
|
||||||
// }
|
// }
|
||||||
|
|
||||||
type ModelSC struct {
|
type ModelSnakeCase struct {
|
||||||
ID uint `gorm:"primary_key" json:"id"`
|
ID uint `gorm:"primary_key" json:"id"`
|
||||||
CreatedAt time.Time `json:"created_at"`
|
CreatedAt time.Time `json:"created_at"`
|
||||||
UpdatedAt time.Time `json:"updated_at"`
|
UpdatedAt time.Time `json:"updated_at"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user