models

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2025 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	EmptyNameError           = errors.New("user name is empty")
	UserNotExistError        = errors.New("user does not exist")
	InsufficientBalanceError = errors.New("insufficient balance")
	InvalidBalanceError      = errors.New("invalid balance")
)

Functions

This section is empty.

Types

type User

type User struct {
	*shared.Entity
	*shared.CreateDate
	*shared.UpdateDate

	Name    string
	Balance int64
}

Jump to

Keyboard shortcuts

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