package testpkgimport "context"type Result struct {ID string}//nd:hostservice name=Search permission=searchtype SearchService interface {//nd:hostfuncFind(ctx context.Context, query string) (results []Result, total int32, err error)}
package testpkgimport "context"type Result struct {ID string}//nd:hostservice name=Search permission=searchtype SearchService interface {//nd:hostfuncFind(ctx context.Context, query string) (results []Result, total int32, err error)}