Documentation ¶
Index ¶
Constants ¶
View Source
const UsersTableName = "users"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) UserUpdate ¶
func (db *DB) UserUpdate(u UserUpdateData) (User, error)
type UserUpdateData ¶
type UserUpdateData struct { TgID int64 `gorm:"column:tg_user_id"` Lang *string `gorm:"column:lang"` }
func (UserUpdateData) TableName ¶
func (UserUpdateData) TableName() string
Click to show internal directories.
Click to hide internal directories.