category

package
v0.6.4 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var FromString = map[string]Name{

	"general": GENERAL,
	"info":    INFO,
	"science": SCIENCE,
	"news":    NEWS,
	"blog":    BLOG,
	"surf":    SURF,
	"newnews": NEWNEWS,

	"wiki":  INFO,
	"sci":   SCIENCE,
	"nnews": NEWNEWS,
}

Functions

This section is empty.

Types

type Name

type Name string
const (
	UNDEFINED Name = "undefined"
	GENERAL   Name = "general"
	INFO      Name = "info"
	SCIENCE   Name = "science"
	NEWS      Name = "news"
	BLOG      Name = "blog"
	SURF      Name = "surf"
	NEWNEWS   Name = "newnews"
)

enumer not necessary, won't be updated often, have to have ShortcutMap anyways

func FromQuery

func FromQuery(query string) Name

returns category

Jump to

Keyboard shortcuts

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