github.com/sergi/go-diff/diffmatchpatch.Patch.Start1 (field)
16 uses
github.com/sergi/go-diff/diffmatchpatch (current package)
patch.go#L24: Start1 int
patch.go#L37: coords1 = strconv.Itoa(p.Start1) + ",0"
patch.go#L39: coords1 = strconv.Itoa(p.Start1 + 1)
patch.go#L41: coords1 = strconv.Itoa(p.Start1+1) + "," + strconv.Itoa(p.Length1)
patch.go#L105: patch.Start1 -= len(prefix)
patch.go#L158: patch.Start1 = charCount1
patch.go#L222: patchCopy.Start1 = aPatch.Start1
patch.go#L332: patches[i].Start1 += paddingLength
patch.go#L340: patches[0].Start1 -= paddingLength // Should be 0.
patch.go#L348: patches[0].Start1 -= extraLength
patch.go#L386: Start1 := bigpatch.Start1
patch.go#L393: patch.Start1 = Start1 - len(precontext)
patch.go#L499: patch.Start1, _ = strconv.Atoi(m[1])
patch.go#L501: patch.Start1--
patch.go#L506: patch.Start1--
![]() |
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. |