Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
14 lines
249 B
Text
14 lines
249 B
Text
package testpkg
|
|||
|
|||
import "context"
|
|||
|
|||
type Result struct {
|
|||
ID string
|
|||
}
|
|||
|
|||
//nd:hostservice name=Search permission=search
|
|||
type SearchService interface {
|
|||
//nd:hostfunc
|
|||
Find(ctx context.Context, query string) (results []Result, total int32, err error)
|
|||
}
|