model

package
v0.0.0-...-9776187 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type User

type User struct {
	// xorm定义的字段属性,要用空格隔开
	Id   uint   `gorm:"primary_key" xorm:"pk autoincr"`
	Name string `gorm:"type:varchar(200)" xorm:"varchar(200)"`
	Age  int    `xorm:"tinyint(3)"`
}

User user.

func (User) TableName

func (User) TableName() string

TableName table name.

Jump to

Keyboard shortcuts

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