entities

package
v0.0.0-...-a655b0a Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	InternalError     = errors.New("Internal Server Error")
	ParamInvalid      = errors.New("Params Is Invalid")
	MethodNotAllowErr = errors.New("Method Not Allow")
)
View Source
var ErrNotEnoughBalance = errors.New("Wallet is not enough balance")

Functions

This section is empty.

Types

type Wallet

type Wallet struct {
	Id     int     `json:"id,omitempty"`
	UserId int     `json:"user_id,omitempty"`
	Money  float64 `json:"money,omitempty"`
}

func (*Wallet) TableName

func (w *Wallet) TableName() string

Jump to

Keyboard shortcuts

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