Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Entry ¶
type Entry struct {
GoPath string `yaml:"go_path"`
RequiresCGO bool `yaml:"requires_cgo"`
Build types.PackageSet `yaml:"build"`
Runtime types.PackageSet `yaml:"runtime"`
}
Entry is a single record in the knowledge base.
type KnowledgeBase ¶
type KnowledgeBase struct {
// contains filtered or unexported fields
}
KnowledgeBase is an in-memory, indexed view of packages.yaml.
func Load ¶
func Load() (*KnowledgeBase, error)
Load parses the embedded YAML and returns an indexed KnowledgeBase.
Click to show internal directories.
Click to hide internal directories.