services

package
v1.0.5 Latest Latest
Warning

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

Go to latest
Published: May 31, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	Excel *excelize.File
}

File contain the excelize file type and is used as service methods receiver

func (*File) WriteSheets

func (file *File) WriteSheets(sheets []*models.Sheet)

WriteSheets write a sheets into a given Excel file

type Output

type Output map[string]map[int]interface{}

Output is a generic type used by Excel reading functions

func ReadColumns

func ReadColumns(file multipart.File, readerOptions models.ReaderOption) (Output, error)

ReadColumns read all columns of a given Excel file Returns all values of the file using the Output type or an error

func ReadLines

func ReadLines(file multipart.File, readerOptions models.ReaderOption) (Output, error)

ReadLines read all lines of a given Excel file Returns all values of the file using the Output type or an error

Jump to

Keyboard shortcuts

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