Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.
15 lines
236 B
Text
15 lines
236 B
Text
package testpkg
|
|||
|
|||
import "context"
|
|||
|
|||
type Item struct {
|
|||
ID string
|
|||
Name string
|
|||
}
|
|||
|
|||
//nd:hostservice name=Store permission=store
|
|||
type StoreService interface {
|
|||
//nd:hostfunc
|
|||
Save(ctx context.Context, item Item) (id string, err error)
|
|||
}
|