Documentation ¶
Index ¶
- func DetectNewline(input []byte) string
- func GetMatches(exp *regexp.Regexp, text string) []map[string]Match
- func LineNumber(source string, pos int) int
- func Lines(source string) []string
- func Max[T constraints.Ordered](a T, b T) T
- func Min[T constraints.Ordered](a T, b T) T
- func MinIndent(lines []string) int
- func PreviewLines(lines []string, length int) []string
- type Match
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetMatches ¶
GetMatches ...
Types ¶
Click to show internal directories.
Click to hide internal directories.