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

32 lines
534 B
Go

package audiobooksearcher
import (
"91porn-server/app/service/searcher"
"91porn-server/models/v/audiobookmod"
"go.mongodb.org/mongo-driver/bson/primitive"
)
type ObjectID = primitive.ObjectID
type Result struct {
dat []audiobookmod.AudioBookAppRes
hasNext bool
}
func (*Result) Types() searcher.ResultTypes {
return searcher.LouFengSearchResult
}
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
}