Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Name ¶
type Name string
const ( UNDEFINED Name = "undefined" GENERAL Name = "general" IMAGES Name = "images" SCIENCE Name = "science" THOROUGH Name = "thorough" )
enumer not necessary, won't be updated often, have to have FromString anyways
func FromString ¶
converts a string to a category name if it exists if the string is empty, then GENERAL is returned otherwise returns UNDEFINED
Click to show internal directories.
Click to hide internal directories.