package
Version:
v0.38.0
Opens a new window with list of versions in this module.
Published: May 31, 2022
License: BSD-3-Clause
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 1
Opens a new window with list of known importers.
Documentation
¶
Package text provide common a library for working with text.
JoinChunks all chunk's values using `sep` as separator and return it as
string.
type Chunk struct {
StartAt int
V []byte
}
Chunk represent subset of line, contain starting position and slice of
bytes in line.
Chunks represent a set of chunk.
Join all chunk's values using `sep` as separator and return it.
type Line struct {
N int
V []byte
}
Line represent line number and slice of bytes as string.
Lines represent array of line.
ParseLines convert raw bytes into Lines.
Source Files
¶
Directories
¶
Package diff implement text comparison.
|
Package diff implement text comparison. |
Click to show internal directories.
Click to hide internal directories.