parser

package
v0.0.0-...-5037bb9 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2021 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MenuParserI interface {
	Parse(ctx context.Context)
	ParseIteration(ctx context.Context)
	Save(suppliersList *[]models.Supplier)
	GetSuppliers() ([]models.Supplier, error)
	GetSupplierProductsByID(id int) ([]models.Product, error)
}

type SupplierProductsParser

type SupplierProductsParser struct {
	// contains filtered or unexported fields
}

func (*SupplierProductsParser) GetSupplierProductsByID

func (h *SupplierProductsParser) GetSupplierProductsByID(id int) ([]models.Product, error)

func (*SupplierProductsParser) GetSuppliers

func (h *SupplierProductsParser) GetSuppliers() ([]models.Supplier, error)

func (*SupplierProductsParser) Parse

func (h *SupplierProductsParser) Parse(ctx context.Context)

func (*SupplierProductsParser) ParseIteration

func (h *SupplierProductsParser) ParseIteration(ctx context.Context)

func (*SupplierProductsParser) Save

func (h *SupplierProductsParser) Save(suppliersList *[]models.Supplier)

Jump to

Keyboard shortcuts

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