Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var UNIX_PLATFORM_RANKING = []string{
"linux",
"openbsd",
"freebsd",
"netbsd",
"darwin",
"solaris",
"illumos",
"dragonfly",
"android",
"ios",
"hurd",
"aix",
}
All the unix-like platforms, listed in order of build priority Must match 'unixOS' list below
Functions ¶
func FindPackageName ¶ added in v1.1.2
func ParseFileHeader ¶
func ParseFileHeader(content []byte) (constraint.Expr, error)
func ParseFileName ¶
func ParseFileName(name string) (nametag *constraint.TagExpr, ok bool)
Types ¶
type Constraint ¶
type Constraint interface{}
Click to show internal directories.
Click to hide internal directories.