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 ¶
NewService spings up an inventory service.
Click to show internal directories.
Click to hide internal directories.