Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶ added in v0.4.0
func DifferenceStrings ¶
func GenWorkers ¶
func GenWorkers(num int) chan<- func()
Types ¶
type LineScanner ¶
type LineScanner struct {
// contains filtered or unexported fields
}
func NewLineScanner ¶
func (*LineScanner) GetAfterSize ¶
func (l *LineScanner) GetAfterSize() int
func (*LineScanner) GetBefore ¶
func (l *LineScanner) GetBefore() []string
func (*LineScanner) GetBeforeSize ¶
func (l *LineScanner) GetBeforeSize() int
func (*LineScanner) HasNext ¶
func (l *LineScanner) HasNext() bool
func (*LineScanner) Peek ¶
func (l *LineScanner) Peek() (b []byte, err error)
type TextPreview ¶
type TextPreview struct { Offset int `json:"offset"` Preview string `json:"preview"` Hits []int `json:"hits"` // contains filtered or unexported fields }
func FilterTextPreview ¶
Click to show internal directories.
Click to hide internal directories.