sheets

package
v0.0.0-...-75720aa Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Configuration

type Configuration struct {
	Log              *logrus.Entry
	Credentials      *google.Credentials
	SpreadsheetId    string
	SheetName        string
	TimezoneName     string
	DateFormat       string
	ValueInputOption string
}

type GoogleSheets

type GoogleSheets interface {
	AppendCycle(ctx context.Context, pump models.Pump, cycle models.Cycle) error
	AppendCycles(ctx context.Context, cycles ...models.CycleReport) error
}

func NewGoogleSheets

func NewGoogleSheets(configuration Configuration) (GoogleSheets, error)

Jump to

Keyboard shortcuts

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