Files
huangguo_server/app/service/searcher/vidrichsearcher/result.go
T
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

29 lines
461 B
Go

package vidrichsearcher
import "91porn-server/app/service/searcher"
type RichVidRes = searcher.RichVidRes
type VideoSy = searcher.VideoInfo
type Result struct {
dat []RichVidRes
hasNext bool
}
func (*Result) Types() searcher.ResultTypes {
return searcher.VidRichSearchResult
}
func (r *Result) Data() interface{} {
return r.dat
}
func (r *Result) Count() int64 {
return int64(len(r.dat))
}
func (r *Result) HasNext() bool {
return r.hasNext
}