Files
rootandClaude Opus 5 8679200f41 Initial commit
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-15 13:57:10 +08:00

27 lines
420 B
Go

package usersearcher
import "91porn-server/app/service/searcher"
type UserRes = searcher.UserRes
type Result struct {
dat []searcher.UserRes
hasNext bool
}
func (*Result) Types() searcher.ResultTypes {
return searcher.UserSearchResult
}
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
}