package sqly import ( "time" ) // BaseModel have to be embeded in all your struct which reflect a table type BaseModel struct { ID string `json:"id"` Updated time.Time `db:"updated_at" json:"updated_at"` Created time.Time `db:"created_at" json:"created_at"` }