designs

package
v0.1.11 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateDesignBody

type CreateDesignBody struct {
	Title string `json:"title" form:"title" validate:"required,min=3,max=2048"`
	Body  string `json:"body" form:"body" validate:"required"`
}

type CreateDesignControllerImpl

type CreateDesignControllerImpl struct {
	htmx.DefaultController
	// contains filtered or unexported fields
}

CreateDesignControllerImpl ...

func NewCreateDesignController

func NewCreateDesignController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *CreateDesignControllerImpl

NewCreateDesignController ...

func (*CreateDesignControllerImpl) Error

func (l *CreateDesignControllerImpl) Error(err error) error

Error ...

func (*CreateDesignControllerImpl) Post

Post ...

func (*CreateDesignControllerImpl) Prepare

func (l *CreateDesignControllerImpl) Prepare() error

Prepare ...

type DesignDeleteControllerImpl

type DesignDeleteControllerImpl struct {
	ID uuid.UUID `json:"id" form:"id" param:"id" validate:"required"`

	htmx.DefaultController
	// contains filtered or unexported fields
}

DesignDeleteControllerImpl ...

func NewDesignDeleteController

func NewDesignDeleteController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *DesignDeleteControllerImpl

NewDesignDeleteController ...

func (*DesignDeleteControllerImpl) Delete

func (p *DesignDeleteControllerImpl) Delete() error

Delete ...

func (*DesignDeleteControllerImpl) Error

func (l *DesignDeleteControllerImpl) Error(err error) error

Error ...

func (*DesignDeleteControllerImpl) Prepare

func (p *DesignDeleteControllerImpl) Prepare() error

Prepare ...

type ListDesignsControllerImpl

type ListDesignsControllerImpl struct {
	htmx.DefaultController
	// contains filtered or unexported fields
}

ListDesignsControllerImpl ...

func NewListDesignsController

func NewListDesignsController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *ListDesignsControllerImpl

NewListDesignsController ...

func (*ListDesignsControllerImpl) Get

Prepare ...

func (*ListDesignsControllerImpl) Prepare

func (l *ListDesignsControllerImpl) Prepare() error

Prepare ...

type NewDesignControllerImpl

type NewDesignControllerImpl struct {
	htmx.DefaultController
	// contains filtered or unexported fields
}

NewDesignControllerImpl ...

func NewDesignController

func NewDesignController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *NewDesignControllerImpl

NewDesignController ...

func (*NewDesignControllerImpl) Get

func (l *NewDesignControllerImpl) Get() error

Get ...

type ShowDesignControllerImpl

type ShowDesignControllerImpl struct {
	Design models.Design
	Body   string

	htmx.DefaultController
	// contains filtered or unexported fields
}

ShowDesignControllerImpl ...

func NewShowDesignController

func NewShowDesignController(store seed.Database[ports.ReadTx, ports.ReadWriteTx]) *ShowDesignControllerImpl

NewShowDesignController ...

func (*ShowDesignControllerImpl) Get

Get ...

func (*ShowDesignControllerImpl) Prepare

func (l *ShowDesignControllerImpl) Prepare() error

Prepare ...

Directories

Path Synopsis
edit

Jump to

Keyboard shortcuts

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