Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultDir used when is no value of '-d' option DefaultDir = "." // DefaultFilenameExt used when is no value of '-f' option DefaultFilenameExt = "*" // MustIncludeSkipPaths add directories that not need to be find, // typing '-s .git' every time is annoying. MustIncludeSkipPaths = ".git,tmp" // KoreanPattern is a regular expression to look up Korean(Hangul) KoreanPattern = "\\p{Hangul}" )
Variables ¶
View Source
var ErrSkipPathsIsRequired = errors.New("'SkipPaths' is required")
ErrSkipPathsIsRequired .
Functions ¶
This section is empty.
Types ¶
type Options ¶
type Options struct { Cpuprofile string Memprofile string DirPathToFind string FileExtToScan string IgnoreRegexString string Verbose bool Interactive bool ErrorOnly bool // contains filtered or unexported fields }
Options .
func (*Options) Ignore ¶
Ignore parses a ignore regular expression and returns, if successful, a Regexp object that can be used to match against text.
Click to show internal directories.
Click to hide internal directories.