Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
15 lines
242 B
Text
15 lines
242 B
Text
package testpkg
|
|||
|
|||
import "context"
|
|||
|
|||
type User struct {
|
|||
ID string
|
|||
Name string
|
|||
}
|
|||
|
|||
//nd:hostservice name=Users permission=users
|
|||
type UsersService interface {
|
|||
//nd:hostfunc
|
|||
Get(ctx context.Context, id *string, filter *User) (*User, error)
|
|||
}
|