company

package
v0.0.0-...-945c817 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Repository

type Repository interface {
	Create(company *model.Company) error
	Find(int64) (*model.Company, error)
	Edit(company *model.Company) error
}

type Usecase

type Usecase interface {
	Create() (*model.Company, error)
	Find(id int64) (*model.CompanyOutput, error)
	Edit(userId int64, company *model.Company) (*model.CompanyOutput, error)
}

Directories

Path Synopsis
delivery

Jump to

Keyboard shortcuts

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