model

package
v0.0.0-...-ca8b2fb Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2025 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 {
	ID       int64  `json:"id" gorm:"type:bigint;column:id;primary_key;unique"`
	Username string `json:"username" gorm:"type:varchar(30);column:username;unique;not null;index:idx_username_password"`
	Password string `json:"password" gorm:"type:varchar(128);column:password;not null;index:idx_username_password"`
}

Jump to

Keyboard shortcuts

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