Documentation ¶
Overview ¶
Package text provide common a library for working with text.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JoinChunks ¶
JoinChunks all chunk's values using `sep` as separator and return it as string.
Types ¶
type Chunk ¶
Chunk represent subset of line, contain starting position and slice of bytes in line.
func (Chunk) MarshalJSON ¶
MarshalJSON encode the Chunk into JSON value.
type Line ¶
Line represent line number and slice of bytes as string.
func (Line) MarshalJSON ¶
MarshalJSON encode the Line into JSON value.
Click to show internal directories.
Click to hide internal directories.