models

package
v0.0.0-...-4a4b3ae Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 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 User

type User struct {
	gorm.Model
	Name     string `gorm:"type:varchar(20);not null" form:"name" json:"name" uri:"name" xml:"name"`
	Email    string `gorm:"type:varchar(256);not null" form:"email" json:"email" uri:"email" xml:"email" binding:"required"`
	Password string `gorm:"type:varchar(256);not null" form:"password" json:"password" uri:"password" xml:"password" binding:"required"`
}

Jump to

Keyboard shortcuts

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