Versions in this module Expand all Collapse all v1 v1.1.0 May 6, 2024 v1.0.0 Apr 19, 2024 Changes in this version + var DefaultCachePath = ".goac/cache/" + var DefaultFilesToExclude = map[Target][]string + var DefaultFilesToInclude = map[Target][]string + var PahToSearch = "." + var RootPath = "." + func Discover(opts *DiscoverOptions) error + type Cache struct + Path string + Target map[Target]*Metadata + type DiscoverOptions struct + Create bool + Force bool + type Env struct + Key string + Value string + type Exec struct + CMD string + Params []string + type IList interface + Affected func() error + List func() + func NewProjectsList(opt *Options) (IList, error) + type List struct + Options *Options + Projects []*Project + func (l *List) Affected() error + func (l *List) List() + type Metadata struct + Date string + DependenciesHash string + DirHash string + type Module struct + ExternalDeps []string + IgnoredGoFiles []string + LocalDirs []string + type Options struct + BinaryCheck bool + Debug []string + DockerIgnore bool + DryRun bool + Force bool + MaxConcurrency int + PrintStdout bool + ProjectsName []string + Target Target + type Project struct + CMDOptions *Options + Cache *Cache + CleanPath string + HashPath string + HashPool *sync.Pool + Metadata *Metadata + Module *Module + Name string + Path string + Rule *scan.Rule + Target map[Target]*TargetConfig + Version string + func (p *Project) LoadCache() error + func (p *Project) LoadGOModules(gomod *modfile.File) error + func (p *Project) LoadHashs() error + func (p *Project) LoadRule(target Target) + type Target string + const TargetBuild + const TargetBuildImage + const TargetNone + func StringToTarget(s string) Target + func (t Target) String() string + type TargetConfig struct + Envs []Env + Exec *Exec