vars

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: AGPL-3.0, AGPL-3.0-only Imports: 4 Imported by: 0

Documentation

Overview

Package vars provide some pre-defined variable from old codebase.

Index

Constants

View Source
const (
	GroupAdmin        uint8 = iota + 1 // 1
	GroupBangumiAdmin                  // 2
	GroupWindowAdmin                   // 3
	GroupQuite                         // 4
	GroupBanned                        // 5

	GroupCharacterAdmin // 8
	GroupWikiAdmin      // 9
	GroupNormal         // 10
	GroupWiki           // 11
)

Variables

View Source
var (
	StaffMap    map[uint8]map[uint16]Staff
	PlatformMap map[model.SubjectType]map[uint16]model.Platform
	RelationMap map[model.SubjectType]map[int32]Relation
)

Functions

This section is empty.

Types

type Relation

type Relation struct {
	CN          string `json:"cn"`
	EN          string `json:"en"`
	JP          string `json:"jp"`
	Description string `json:"description"`
}

func (Relation) String

func (r Relation) String() string

type Staff

type Staff struct {
	CN  string
	JP  string
	EN  string
	RDF string
}

func (Staff) String

func (s Staff) String() string

Jump to

Keyboard shortcuts

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