inventory

package
v0.0.0-...-4982e5b Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	DBPool     *pgxpool.Pool
	VendorRepo repository.Vendor
	ModelRepo  repository.Model
	DeviceRepo repository.Device
}

Service provides the fields to interact with the inventory persistance layer.

func NewService

func NewService(dbpool *pgxpool.Pool) *Service

NewService spings up an inventory service.

Directories

Path Synopsis
db

Jump to

Keyboard shortcuts

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