Documentation ¶
Index ¶
Constants ¶
View Source
const ( AlpineId = "alpine" DebianId = "debian" FedoraId = "fedora" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Name string `mapstructure:"NAME,omitempty"` Id string `mapstructure:"ID,omitempty"` PrettyName string `mapstructure:"PRETTY_NAME,omitempty"` Version string `mapstructure:"VERSION,omitempty"` VersionId string `mapstructure:"VERSION_ID,omitempty"` }
Info provides information on the operating system identification https://www.freedesktop.org/software/systemd/man/os-release.html
Click to show internal directories.
Click to hide internal directories.