Documentation ¶
Index ¶
- type Element
- type Tree
- func (t *Tree) Add(ctx context.Context, pid int64, name, description string) (id int64, e error)
- func (t *Tree) Change(ctx context.Context, id int64, name, description string) (changed bool, e error)
- func (t *Tree) Foreach(callback func(ele *Element) (e error)) (e error)
- func (t *Tree) Init()
- func (t *Tree) LastModified() (modtime time.Time)
- func (t *Tree) Len() int
- func (t *Tree) Move(ctx context.Context, id, pid int64) (changed bool, e error)
- func (t *Tree) Remove(ctx context.Context, id int64) (rowsAffected int, e error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.