Documentation ¶
Index ¶
Constants ¶
View Source
const ( ID = "_id" UserId = "userId" TypeString = "typeString" Name = "name" ProductId = "productId" ProductName = "productName" Type = "type" Path = "path" FatherId = "fatherId" Size = "size" FileMd5 = "fileMd5" IsDel = "isDel" SpaceSize = "spaceSize" Tags = "tags" Zone = "zone" Key = "key" SubZone = "subZone" Status = "status" Title = "title" Text = "text" Description = "description" Labels = "labels" CreateAt = "createAt" UpdateAt = "updateAt" DeletedAt = "deletedAt" TargetId = "targetId" TargetType = "targetType" RelationType = "relationType" DefaultAvatarUrl = "d2042520dce2223751906a11e547d43e.png" DefaultDescription = "点击添加描述,让大家更好的了解你..." )
Variables ¶
View Source
var ( ErrInvalidId = status.Error(10101, "objectId无效") ErrPaginatorTokenExpired = status.Error(10102, "分页token已过期") ErrCalFileSize = status.Error(10103, "计算文件大小失败") ErrFileIsNotDir = status.Error(10104, "目标文件不是文件夹") ErrNotFound = status.Error(10105, "数据不存在") ErrInvalidDeleteType = status.Error(10106, "删除类型无效") ErrDataBase = status.Error(10107, "数据库异常") ErrEsMapper = status.Error(10108, "Es异常") ErrIllegalOperation = status.Error(10109, "非法操作") )
View Source
var (
DefaultLimit = 10
)
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.