order

package
v0.0.0-...-f67571d Latest Latest
Warning

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

Go to latest
Published: May 10, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Usecase

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

Usecase struct for order domain

func Order

func Order(o orderRepoI) *Usecase

Order adds dependencies to order usecase

func (*Usecase) Create

func (uc *Usecase) Create() string

Create creates new order

func (*Usecase) Select

func (uc *Usecase) Select(id int) (order.Order, error)

Select order by id

Jump to

Keyboard shortcuts

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