services

package
v0.11.7 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProductCSVConversionService

type ProductCSVConversionService interface {
	ConvertToCSVFormat(product shopify.Product) []shopify.ProductCSV
}

func NewProductCSVConversionService

func NewProductCSVConversionService() ProductCSVConversionService

type ProductsCSVWriterService

type ProductsCSVWriterService interface {
	DownloadAllProducts(out io.Writer) error
	DownloadAllProductsUpdatingProgressState(out io.Writer, progressState chan<- progress.State) error
}

func NewProductsCSVWriterService

func NewProductsCSVWriterService(productCSVConversionService ProductCSVConversionService, productsRetrievalService ProductsRetrievalService) ProductsCSVWriterService

type ProductsRetrievalService

type ProductsRetrievalService interface {
	RetrieveAllProducts(chan<- shopify.Product) error
}

func NewProductsRetrievalService

func NewProductsRetrievalService(shopifyResource resources.ShopifyResource) ProductsRetrievalService

Jump to

Keyboard shortcuts

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