Documentation
¶
Overview ¶
Package platform contains definition of what ${os} and ${arch} mean for the current platform.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentArchitecture ¶
func CurrentArchitecture() string
CurrentArchitecture returns the current CIPD architecture that the current go binary conforms to.
See the package doc for the list of possible values.
func CurrentOS ¶
func CurrentOS() string
CurrentOS returns the current CIPD os that the current go binary conforms to.
See the package doc for the list of possible values.
func CurrentPlatform ¶
func CurrentPlatform() string
CurrentPlatform returns the current CIPD platform which is just "${os}-${arch}" string.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.