table

package
v0.0.0-...-34171ca Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2020 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 Person

type Person struct {
	Id         int64  `gorm:"column:id;primary_key"`
	Name       string `gorm:"column:name"`
	Image      string `gorm:"column:image"`
	ThumbImage string `gorm:"column:thumb_image"`
	Lucky      bool
	Level      int64
}

func (*Person) TableName

func (m *Person) TableName() string

TableName sets the insert table name for this struct type

Jump to

Keyboard shortcuts

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