Documentation
¶
Index ¶
Constants ¶
View Source
const (
KeyProject = "project"
)
Variables ¶
View Source
var (
ConfigFile = "defaults.json"
ConfigFolder = platform.CacheFolder
DefaultKeys = []string{KeyProject}
)
Functions ¶
func IsSupportedKey ¶
func IsSupportedKey(key string) bool
IsSupportedKey returns true if the given key is supported
Types ¶
type Defaults ¶
type Defaults struct {
// contains filtered or unexported fields
}
Defaults holds the default values
func NewFromPath ¶
func NewFromPath(folderPath string, fileName string) (*Defaults, error)
NewFromPath creates a new defaults instance from the given path
Click to show internal directories.
Click to hide internal directories.