consts

package
v1.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ID        = "_id"
	UserId    = "userId"
	AtUserId  = "atUserId"
	SubjectId = "subjectId"
	RootId    = "rootId"
	FatherId  = "fatherId"
	Content   = "content"
	Meta      = "meta"
	Tags      = "tags"
	Count     = "count"
	ItemId    = "itemId"
	RootCount = "rootCount"
	AllCount  = "allCount"
	State     = "state"
	Attrs     = "attrs"
	CreateAt  = "createAt"
	UpdateAt  = "updateAt"
	Value     = "value"
	Labels    = "labels"
)

Variables

View Source
var (
	ErrInvalidId             = status.Error(10101, "objectId无效")
	ErrPaginatorTokenExpired = status.Error(10102, "分页token已过期")
	ErrNotFound              = status.Error(10105, "数据不存在")
	ErrDataBase              = status.Error(10007, "数据库异常")
	ErrEsMapper              = status.Error(10008, "Es异常")
	ErrIllegalOperation      = status.Error(10009, "非法操作")
)

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