foods

package
v0.0.0-...-381a539 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JSON []byte

Functions

This section is empty.

Types

type Categories

type Categories map[Category]Items

func Unmarshal

func Unmarshal() Categories

Unmarshal unmarshals the JSON.

func (Categories) CategoryNames

func (c Categories) CategoryNames() []string

CategoryNames returns the category names sorted in alphabetical order.

type Category

type Category = string

type Items

type Items []Name

type Name

type Name = string

Jump to

Keyboard shortcuts

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