vars

package
v0.33.19 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2023 License: AGPL-3.0, AGPL-3.0-only Imports: 5 Imported by: 0

Documentation

Overview

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

Index

Constants

This section is empty.

Variables

View Source
var (
	// StaffMap ...
	StaffMap map[model.SubjectType]map[StaffID]Staff
	// PlatformMap ...
	PlatformMap map[model.SubjectType]map[PlatformID]model.Platform
	// RelationMap ...
	RelationMap map[model.SubjectType]map[RelationID]Relation
)

Functions

This section is empty.

Types

type PlatformID

type PlatformID = uint16

PlatformID ...

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(id uint16) string

type RelationID

type RelationID = uint16

RelationID ...

type Staff

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

func (Staff) String

func (s Staff) String() string

type StaffID

type StaffID = uint16

StaffID ...

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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