repository

package
Version: v0.0.0-...-e7367dc Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2019 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 Repository

type Repository interface {
	Product(id string) (*model.Product, error)
	Products(s *scope.Scope) (ps []*model.Product, total int, err error)
	Create(p *model.Product) (id string, err error)
	Delete(id string) error
}

Source Files

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL