Documentation
¶
Index ¶
- Constants
- Variables
- func ListNodes[T any](com manifold.Node, lister Lister[T]) (nodes node.Nodes)
- func NewNode[C, R, L any](name string, parent manifold.Node, oldView string, creator Creater[C, R]) manifold.Node
- func ReadFromList[R any](ctx context.Context, lister Lister[R], id ID) (*R, error)
- type Creater
- type Deleter
- type EventHandler
- type ID
- type Lister
- type NewResource
- type Provider
- type ReadDeleter
- type Reader
- type Resource
Constants ¶
Variables ¶
View Source
var ErrNotExist = errors.New("resource does not exist")
Functions ¶
Types ¶
type EventHandler ¶
type NewResource ¶
type NewResource[C any] struct { Draft *C Save func() Cancel func() }
type ReadDeleter ¶
Click to show internal directories.
Click to hide internal directories.