Versions in this module Expand all Collapse all v1 v1.0.3 Apr 6, 2026 v1.0.2 Apr 6, 2026 v1.0.1 Apr 6, 2026 Changes in this version + func Run(args []string) error + type Config struct + AfterContext int + BeforeContext int + CaseInsensitive bool + ContextLines int + CountOnly bool + ExcludeDir string + ExtendedRegex bool + FilesWithMatches bool + FixedStrings bool + Include string + InvertMatch bool + JSON bool + LineNumbers bool + MaxCount int + Pattern string + Plain bool + Pretty bool + Recursive bool + WordMatch bool + XML bool + type GrepError struct + Code int + Msg string + Path string + XMLName xml.Name + type GrepFileMatch struct + Absolute string + Language string + Lines []GrepMatch + MatchesInFile int + Path string + XMLName xml.Name + type GrepMatch struct + After string + Before string + Number int + OffsetBytes int64 + Text string + XMLName xml.Name + type GrepResult struct + CaseSensitive string + Errors []GrepError + Flags string + MatchType string + MatchedFiles int + Matches []GrepFileMatch + Pattern string + Recursive string + SearchRoot string + SearchedFiles int + Timestamp int64 + TotalMatches int + XMLName xml.Name v1.0.0 Apr 6, 2026