github.com/google/licensecheck/internal/match.Match.End (field)
7 uses
github.com/google/licensecheck/internal/match (current package)
regexp.go#L186: End int // word index of end of match
regexp.go#L204: m.List = append(m.List, Match{ID: int(match), Start: i - 1, End: end})
github.com/google/licensecheck
scan.go#L190: end := int(words[m.End-1].Hi) // byte offset (unlike m.End)
scan.go#L191: if m.End == len(words) {
scan.go#L194: next := int(words[m.End].Lo)
scan.go#L206: total += m.End - m.Start
scan.go#L207: lastEnd = m.End
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |