xlsx

package module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Definitions = []di.Def{
	{
		Build: func(ctn di.Container) (interface{}, error) {
			repositoryResolver := ctn.Get("focus.models.repositories.resolver").(actions.RepositoryResolver)
			return NewExporter(repositoryResolver, 200), nil
		},
		Name: "focus.models.exporter",
	},
}

Functions

This section is empty.

Types

type Exporter

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

Exporter сервис работы с экспортом элементов модели

func NewExporter

func NewExporter(repositoryResolver actions.RepositoryResolver, batchSize int) *Exporter

NewExporter конструктор

func (Exporter) GetFile

func (e Exporter) GetFile(ctx context.Context, model *focus.Model, filter actions.ListModelElementsQuery) (*os.File, error)

GetFile получение файла экспорта

Jump to

Keyboard shortcuts

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