dataupload

package
v0.0.0-...-424a8ae Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2020 License: MPL-2.0 Imports: 6 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 interface {
	Upload(ctx *app.ReqCtx, userID uint64, draft *m.Draft, fileHeader *multipart.FileHeader) (*m.Draft, error)
}

func New

func New(drafts m.DraftRepository, data m.DataRepository, storage upload.Storage, importer *upload.CSVImporter) Service

New returns a new instance of a ata upload service

Jump to

Keyboard shortcuts

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