Versions in this module Expand all Collapse all v1 v1.0.1 Jul 22, 2017 Changes in this version + var Index map[string]int + func Exists(category string) bool + func InitCategories() + type Categories []Category + func All() Categories + func GetSelect(keepParent bool, keepChild bool) Categories + func (cats Categories) Exists(id string) bool + type Category struct + ID string + Name string + func Get(key int) Category + func GetByID(id string) (Category, bool)