Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func IsValidName ¶
Types ¶
type Config ¶
type Config struct {
Java string `mapstructure:"java"` // The name of the java installation to use
}
Config represents all the profile specific configuration options. Options not specified in a profile config will be inherited from the global config.
type Manager ¶
type Manager interface { // CreateProfile creates a new profile and fills in defaults. // The returned profile may be modified, and then Save will save it. CreateProfile(name string) (*Profile, error) Profiles() []string GetProfile(name string) (*Profile, error) Save() error }
func NewManager ¶
type Profile ¶
Click to show internal directories.
Click to hide internal directories.