models

package
v0.0.0-...-03f35ba Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UsersStatusOK
	UsersStatusBlock
	UsersStatusDelete
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Users

type Users struct {
	UserID    string    `gorm:"column:userid" json:"userid"`
	Nickname  string    `gorm:"column:nickname" json:"nickname"`
	Email     string    `gorm:"column:email" json:"email"`
	Password  string    `gorm:"column:password" json:"-"`
	Status    int       `gorm:"column:status" json:"status"`
	CreatedAt time.Time `gorm:"column:createdat" json:"-"`
	UpdatedAt time.Time `gorm:"column:updatedat" json:"-"`
}

func (Users) TableName

func (Users) TableName() string

Jump to

Keyboard shortcuts

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