example

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusType

type StatusType uint

type User

type User struct {
	gorm.Model
	UserName    string  `json:"user_name" gorm:"user_name"`
	UserDisplay *string `json:"user_display" gorm:"user_display"`
	Phone       int64
	Status      StatusType
}

gormfields:query

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