dao

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 19, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TableName = "user"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	UserID    int64 `gorm:"primaryKey"`
	Nickname  string
	Password  string
	Salt      string
	Mail      string
	Telegram  int64
	CreatedAt time.Time
	UpdatedAt time.Time
	DeletedAt time.Time
}

func (*User) TableName

func (u *User) TableName() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL