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
Click to show internal directories.
Click to hide internal directories.