plant

package
v0.0.0-...-66e2244 Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2023 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Name           string   `yaml:"name"`
	Height         uint     `yaml:"height"`
	Width          uint     `yaml:"width"`
	Family         string   `yaml:"family"`
	FeederType     string   `yaml:"feederType"`
	RootType       string   `yaml:"rootType"`
	GoodCompanions []string `yaml:"goodCompanions"`
	BadCompanions  []string `yaml:"badCompanions"`
}

type Lexicon

type Lexicon struct {
	Entries map[string]Info
}
var EmbeddedLexicon *Lexicon = &Lexicon{}

func (*Lexicon) Listing

func (l *Lexicon) Listing() *LexiconListing

type LexiconListing

type LexiconListing struct {
	Entries []Info `yaml:"plants"`
}

func (*LexiconListing) Lexicon

func (l *LexiconListing) Lexicon() *Lexicon

Jump to

Keyboard shortcuts

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