entity

package
v0.0.23 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2022 License: Apache-2.0 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 {
	// ID    int    `gorm:"column:id;primaryKey;type:bigint;not null;autoIncrement" mapstructure:"id"`
	// Name  string `gorm:"column:name;type:varchar(255);not null" mapstructure:"name"`
	// Email string `gorm:"column:email;type:varchar(255);not null" mapstructure:"email"`
	ID    int
	Name  string
	Email string
}

User table struct.

func (*User) TableName

func (i *User) TableName() string

TableName returns tablename.

Jump to

Keyboard shortcuts

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