package models import ( "time" ) type User struct { ID uint64 `db:"id"` Username string `db:"username"` Password string `db:"password"` CreatedAt time.Time `db:"created_at"` UpdatedAt time.Time `db:"updated_at"` } type ChangePasswordForm struct { OldPassword string `form:"old_password" validate:"required"` NewPassword string `form:"new_password" validate:"required"` }