package
Version:
v0.23.0
Opens a new window with list of versions in this module.
Published: Feb 5, 2021
License: BSD-3-Clause
Opens a new window with license information.
Imports: 0
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.
Source Files
¶
Directories
¶
Package diff implement text comparison.
|
Package diff implement text comparison. |
Click to show internal directories.
Click to hide internal directories.