github.com/yuin/goldmark/text.Segment.WithStart (method)
4 uses
github.com/yuin/goldmark/text (current package)
reader.go#L493: return segment.WithStart(segment.Start + i + 1), chars, true
segment.go#L127: func (t *Segment) WithStart(v int) Segment {
github.com/yuin/goldmark/extension
table.go#L314: n2 := gast.NewRawTextSegment(segment.WithStart(pos + 1))
github.com/yuin/goldmark/parser
code_span.go#L75: t.Segment = segment.WithStart(segment.Start + 1)
![]() |
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. |