Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ExactFinder ¶
type ExactFinder struct { Search string // contains filtered or unexported fields }
ExactFinder : a exact Finder for searching, Case sensitive。
type Finder ¶
Finder is a interface for searching. it can find text string based on a plain text or regexp. if cannot found it returns an empty string.
type IExactFinder ¶
type IExactFinder struct { Search string // contains filtered or unexported fields }
IExactFinder : a exact Finder for searching,not Case-sensitive。
type MultiReader ¶
func (*MultiReader) Close ¶
func (m *MultiReader) Close()
func (*MultiReader) IsError ¶
func (m *MultiReader) IsError() error
func (*MultiReader) Result ¶
func (m *MultiReader) Result() []MatchRes
func (*MultiReader) Run ¶
func (m *MultiReader) Run()
type Reader ¶
type Reader interface { //a fun to start Run() // a func to close the reader Close() Result() []MatchRes IsError() error }
func NewMultiReader ¶
type RegexpFinder ¶
RegexpFinder : a regexp finder for searching string.
Click to show internal directories.
Click to hide internal directories.