Documentation ¶
Index ¶
- Constants
- func GetConfigFile() string
- func GetDistribution() string
- func GetEditor() string
- func GetHomeDirectory() string
- func GetShell() string
- func GetUsername() string
- type Analysis
- func (a *Analysis) GetApplicationName() string
- func (a *Analysis) GetConfigFile() string
- func (a *Analysis) GetDistribution() string
- func (a *Analysis) GetEditor() string
- func (a *Analysis) GetHomeDirectory() string
- func (a *Analysis) GetOperatingSystem() OperatingSystem
- func (a *Analysis) GetShell() string
- func (a *Analysis) GetUsername() string
- type OperatingSystem
Constants ¶
View Source
const ( DefaultApplicationName = "ai" DefaultEditor = "vim" )
Variables ¶
This section is empty.
Functions ¶
func GetConfigFile ¶ added in v0.1.3
func GetConfigFile() string
func GetDistribution ¶
func GetDistribution() string
func GetHomeDirectory ¶
func GetHomeDirectory() string
func GetUsername ¶
func GetUsername() string
Types ¶
type Analysis ¶
type Analysis struct {
// contains filtered or unexported fields
}
func (*Analysis) GetApplicationName ¶
func (*Analysis) GetConfigFile ¶
func (*Analysis) GetDistribution ¶
func (*Analysis) GetHomeDirectory ¶
func (*Analysis) GetOperatingSystem ¶
func (a *Analysis) GetOperatingSystem() OperatingSystem
func (*Analysis) GetUsername ¶
type OperatingSystem ¶
type OperatingSystem int
const ( UnknownOperatingSystem OperatingSystem = iota LinuxOperatingSystem MacOperatingSystem WindowsOperatingSystem )
func GetOperatingSystem ¶
func GetOperatingSystem() OperatingSystem
func (OperatingSystem) String ¶
func (o OperatingSystem) String() string
Click to show internal directories.
Click to hide internal directories.