trace

package
v0.0.0-...-96dbec4 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2020 License: MIT Imports: 5 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 {
	Insert(entity *entities.Trace) (*entities.Trace, *errors.ApplicationError)
}

func NewRepository

func NewRepository(collection *mongo.Collection) Repository

type Service

type Service interface {
	Insert(book *entities.TraceDTO) (*entities.Trace, *errors.ApplicationError)
}

func NewService

func NewService(r Repository) Service

Jump to

Keyboard shortcuts

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