Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Index ¶
type Index struct {
Packages []*indexPackage `json:"packages"`
}
Index represents Cores and Tools struct as seen from package_index.json file.
func LoadIndex ¶
LoadIndex reads a package_index.json from a file and returns the corresponding Index structure.
func (Index) MergeIntoPackages ¶
MergeIntoPackages converts the Index data into a cores.Packages and merge them with the existing conents of the cores.Packages passed as parameter.
Click to show internal directories.
Click to hide internal directories.