Documentation ¶ Index ¶ func HasIndex(it *pattern.Pattern) bool func ToIndexMap(patterns []*pattern.Pattern) map[string]int func ToList(reader io.Reader) []string func ToPatterns(reader io.Reader) []*pattern.Pattern type Index func ToIndex(patterns []*pattern.Pattern) []*Index Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func HasIndex ¶ added in v1.0.3 func HasIndex(it *pattern.Pattern) bool func ToIndexMap ¶ func ToIndexMap(patterns []*pattern.Pattern) map[string]int func ToList ¶ func ToList(reader io.Reader) []string func ToPatterns ¶ func ToPatterns(reader io.Reader) []*pattern.Pattern Types ¶ type Index ¶ type Index struct { Pattern *pattern.Pattern `json:"pattern"` Hash string `json:"hash"` Index int `json:"index"` } func ToIndex ¶ func ToIndex(patterns []*pattern.Pattern) []*Index Source Files ¶ View all Source files parser.go Click to show internal directories. Click to hide internal directories.