Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CSV ¶
type CSV struct {
IndexName string
}
A CSV represents a CSV Doccument
type DocumentList ¶
DocumentList holds the return searched doc structure
type Indexer ¶
type Indexer interface { Index(fileName string) // contains filtered or unexported methods }
Indexer is the interface that implements important stuff
type JSON ¶
type JSON struct {
IndexName string
}
A JSON represents a CSV Doccument
type SearchResult ¶
type SearchResult struct { Total int Result []DocumentList }
SearchResult implements Search JSON
Click to show internal directories.
Click to hide internal directories.