crudl

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2025 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container added in v0.6.0

type Container struct {
	*html.Element
	ID html.ID
}

func (*Container) HtmxButton added in v0.6.0

func (c *Container) HtmxButton() *html.Element
func (c *Container) HtmxLink() *html.Element

type Create

type Create[C any] struct {
	GET  *wc.Route[C]
	POST *wc.Route[C]
	ID   html.ID
}

type Delete

type Delete[C any] struct {
	DELETE *wc.Route[C]
	ID     html.ID
}

type List

type List[C any] struct {
	GET *wc.Route[C]
	ID  html.ID
}

type Read

type Read[C any] struct {
	GET *wc.Route[C]
	ID  html.ID
}

type Update

type Update[C any] struct {
	GET *wc.Route[C]
	PUT *wc.Route[C]
	ID  html.ID
}

Directories

Path Synopsis
example
server command

Jump to

Keyboard shortcuts

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