func github.com/rivo/uniseg.FirstLineSegmentInString
one use
github.com/rivo/uniseg (current package)
line.go#L85: func FirstLineSegmentInString(str string, state int) (segment, rest string, mustBreak bool, newState int) {
The pages are generated with Golds v0.8.7. (GOOS=linux GOARCH=amd64)