util

package
v0.0.0-...-0259ebf Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2023 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUserIDNil    = errors.New("user id is nil")
	ErrUserNotFound = errors.New("user not found")
	ErrUserAuthFail = errors.New("username or password error")
)
View Source
var (
	ErrRoomIDNil    = errors.New("room id is nil")
	ErrRoomNotFound = errors.New("room not found")
)
View Source
var (
	ErrSeatIDNil    = errors.New("seat id is nil")
	ErrSeatNotFound = errors.New("seat not found")
)
View Source
var (
	ErrResvIDNil            = errors.New("reservation id is nil")
	ErrResvTimeIllegal      = errors.New("reservation time is illegal")
	ErrResvCanceled         = errors.New("reservation has been cancel")
	ErrResvSeatTimeConflict = errors.New("seat reservation time conflict")
	ErrResvUserTimeConflict = errors.New("user reservation time conflict")
)
View Source
var (
	ErrAdminIDNil    = errors.New("admin id is nil")
	ErrAdminNotFound = errors.New("admin not found")
	ErrAdminAuthFail = errors.New("admin name or password error")
)
View Source
var (
	ErrTokenInvalid = errors.New("invalid token")
)

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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