@@ -0,0 +1,23 @@
|
||||
package searcher
|
||||
|
||||
type ResultTypes = int
|
||||
|
||||
const (
|
||||
TagSearchResult ResultTypes = 1 << iota //0 which is 00000001
|
||||
ToneSearchResult
|
||||
UserSearchResult
|
||||
VidPCountSearchResult
|
||||
VidRichSearchResult
|
||||
VidSearchResult
|
||||
VidTagSearchResult
|
||||
VidToneSearchResult
|
||||
VidHotKeywordSearchResult
|
||||
LouFengSearchResult
|
||||
)
|
||||
|
||||
type Resulter interface {
|
||||
Types() ResultTypes
|
||||
Data() interface{}
|
||||
Count() int64
|
||||
HasNext() bool
|
||||
}
|
||||
Reference in New Issue
Block a user