tag

package
v0.0.0-...-83adff0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// UserTag 普通tag
	UserTag = int8(0)
	// UpTag up主tag
	UpTag = int8(1)
	// OfficailClassifyTag  官方-分类tag
	OfficailClassifyTag = int8(2)
	// OfficailContentTag 官方-内容tag
	OfficailContentTag = int8(3)
	// OfficailActiveTag 官方-活动tag
	OfficailActiveTag = int8(4)
	// TagStateNormal normal
	TagStateNormal = 0
	// TagStateDel del
	TagStateDel = 1
	// TagStateHide hide
	TagStateHide = 2
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Meta

type Meta struct {
	TagID   int64  `json:"tag_id"`
	TagName string `json:"tag_name"`
}

Meta for tag info.

type StaffTitle

type StaffTitle struct {
	ID   int64  `json:"id"`
	Name string `json:"name"`
}

StaffTitle 联合投稿职能

type Tag

type Tag struct {
	ID      int64  `json:"tag_id"`
	Name    string `json:"tag_name"`
	Cover   string `json:"cover"`
	Content string `json:"content"`
	Type    int8   `json:"type"`
	State   int8   `json:"state"`
}

Tag str

Jump to

Keyboard shortcuts

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