Documentation
¶
Overview ¶
Package umonoproject detects a Umono project by its umono.json.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotUmonoProject = errors.New("this directory is not a Umono project") ErrNoThemeSupport = errors.New("this Umono version does not support themes, v0.9 or later is required") )
Functions ¶
This section is empty.
Types ¶
type Manifest ¶
type Manifest struct {
MinCLIVersion string `json:"min_cli_version"`
ThemeAPICurrent *int `json:"theme_api_current"`
ThemeAPIMin *int `json:"theme_api_min"`
}
Manifest is umono.json at the root of a Umono project. Every release archive has it, and upgrade keeps it current. The theme fields are nil in a project before v0.9.
Click to show internal directories.
Click to hide internal directories.