Compare commits

..

1 Commits

Author SHA1 Message Date
336a254a11 Update 2025-10-24 10:17:34 +02:00

View File

@@ -8,7 +8,7 @@ type User struct {
Username string `db:"username" json:"username"` Username string `db:"username" json:"username"`
Password string `db:"password" json:"password"` Password string `db:"password" json:"password"`
CreatedAt time.Time `db:"created_at" json:"created_at"` CreatedAt time.Time `db:"created_at" json:"created_at"`
UpdatedAt time.Time `db:"updated_at,omitempty" json:"updated_at,omitempty"` // FIXME: zero-value issue UpdatedAt time.Time `db:"udpated_at,omitempty" json:"updated_at,omitempty"` // FIXME: zero-value issue
} }
// var TestUser = &User{ // var TestUser = &User{