editfolder

package
v0.0.0-...-4d14c86 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoValue  = errors.New("no id given")
	ErrNoTitle  = errors.New("no folder title given")
	ErrNotFound = errors.New("folder not found")
)

Functions

func Process

func Process(ctx context.Context, db bun.IDB, input Input) *run

Types

type Input

type Input struct {
	ID    string `json:"-"`
	Title string `json:"title"`
}

Input is the new state of the folder.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址