Versions in this module Expand all Collapse all v0 v0.0.0 Aug 1, 2022 Changes in this version + var ErrNoGo = fmt.Errorf("no Go source files") + var KnownArch = make(map[string]bool) + var KnownOS = make(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