controllers

package
v0.0.0-...-e8370c2 Latest Latest
Warning

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

Go to latest
Published: Apr 24, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Controller

type Controller struct {
	// contains filtered or unexported fields
}

func NewController

func NewController(repository repositories.Repository) *Controller

func (*Controller) Do

func (controller *Controller) Do(data interface{}) error

func (*Controller) Undo

func (controller *Controller) Undo() error

type Work

type Work struct {
	// contains filtered or unexported fields
}

func NewWork

func NewWork(work interface{}) *Work

func (*Work) GetWork

func (work *Work) GetWork() (interface{}, error)

Jump to

Keyboard shortcuts

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