Versions in this module Expand all Collapse all v5 v5.0.1 Jul 28, 2026 Changes in this version + func ExecCommandRunner(parseCtx context.Context, parseDir string, parseEnv []string, parseName string, ...) (string, error) + func ExtractKnownGwcFlags(parseGwcDir string) (map[string]bool, error) + func FindRepoRoot(start string) (root string, ok bool) + type CommandRunner func(context.Context, string, []string, string, []string) (string, error) + type FlagRef struct + DocPath string + Flag string + Line int + func ScanDocGwcFlags(parseRoot string, parseKnown map[string]bool) ([]FlagRef, error) + type GoBlock struct + Compile bool + DocPath string + Line int + Native bool + Source string + func ScanGoBlocks(root string) ([]GoBlock, error) + type GoBlockCompileError struct + DocPath string + Err string + Line int + func CompileMarkedGoBlocks(repoRoot string) ([]GoBlockCompileError, error) + type GoBlockError struct + DocPath string + Err string + Line int + func ValidateGoBlocks(root string) ([]GoBlockError, error) + type GwcCommandPlan struct + Args []string + Ref GwcCommandRef + SkipReason string + func PlanDocGwcCommands(parseRefs []GwcCommandRef, parseOutputRoot string) []GwcCommandPlan + type GwcCommandRef struct + Args []string + DocPath string + Line int + Raw string + func ScanDocGwcCommands(parseRoot string) ([]GwcCommandRef, error) + type GwcCommandResult struct + Err error + Output string + Plan GwcCommandPlan + type GwcCommandRunOptions struct + MaxCommands int + OutputRoot string + Runner CommandRunner + Timeout time.Duration + type GwcCommandRunSummary struct + Executed []GwcCommandResult + Skipped []GwcCommandResult + func RunDocGwcCommands(parseRoot string, parseOptions GwcCommandRunOptions) (GwcCommandRunSummary, error) + type PathRef struct + DocPath string + Line int + Raw string + Rel string + func Resolve(root string, refs []PathRef) []PathRef + func ScanRepo(root string) ([]PathRef, error) Other modules containing this package github.com/monstercameron/GoWebComponents/v4