Versions in this module Expand all Collapse all v0 v0.0.8 Feb 24, 2021 Changes in this version + var ErrNoGo = fmt.Errorf("no Go source files") + var KnownArch = map[string]bool + var KnownOS = map[string]bool + func AnyTags() map[string]bool + func MatchFile(name string, tags map[string]bool) bool + func ReadComments(f io.Reader) ([]byte, error) + func ReadImports(f io.Reader, reportSyntaxError bool, imports *[]string) ([]byte, error) + func ScanDir(dir string, tags map[string]bool) ([]string, []string, error) + func ScanFiles(files []string, tags map[string]bool) ([]string, []string, error) + func ShouldBuild(content []byte, tags map[string]bool) bool + func Tags() map[string]bool