Documentation ¶
Index ¶
Constants ¶
View Source
const SYSTEM_TRIPLET_REGEXP = "" +
`(?P<cpu>.*?)-` +
`(?P<company>.*?)-` +
`(?P<system>((?P<kernel>.*?)-)?(?P<os>.*))`
Variables ¶
View Source
var ErrCantParseSystemTriplet = errors.New("Can't parse")
View Source
var SYSTEM_TRIPLET_REGEXP_COMPILED = regexp.MustCompile( SYSTEM_TRIPLET_REGEXP, )
Functions ¶
This section is empty.
Types ¶
type SystemTriplet ¶
func NewFromString ¶
func NewFromString(value string) (*SystemTriplet, error)
func (*SystemTriplet) String ¶
func (self *SystemTriplet) String() string
Click to show internal directories.
Click to hide internal directories.