consts

package
v1.2.25 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ID          = "_id"
	CatId       = "catId"
	CommunityId = "communityId"
	Title       = "title"
	Text        = "text"
	Description = "description"
	Tags        = "tags"
	UserId      = "userId"
	Flags       = "flags"
	Area        = "area"
	Color       = "color"
	Details     = "details"
	Name        = "name"
	Score       = "_score"
	UpdateAt    = "updateAt"
	CreateAt    = "createAt"
	StartTime   = "startTime"
	EndTime     = "endTime"
	InitiatorId = "initiatorId"
	PlanId      = "planId"
	FishNum     = "fishNum"
	NowFish     = "nowFish"
)

Variables

View Source
var (
	ErrNoSuchCat             = status.Error(10101, "no such cat")
	ErrInvalidId             = status.Error(10102, "invalid id")
	ErrNoSuchPost            = status.Error(10301, "no such post")
	ErrPaginatorTokenExpired = status.Error(10303, "paginator token has been expired")
	ErrDonateOverFlow        = status.Error(10201, "donate too many fish")
)
View Source
var (
	ErrNotFound        = mon.ErrNotFound
	ErrInvalidObjectId = errors.New("invalid objectId")
)

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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