spreadsheet

package
v0.0.0-...-a1697ce Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSpreadsheetService

func NewSpreadsheetService(ctx context.Context) (*sheets.Service, error)

Types

type SpreadsheetDatastore

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

func (*SpreadsheetDatastore) Values

func (d *SpreadsheetDatastore) Values(ctx context.Context, spreadsheetId string, readRange string) (*ValueResponse, error)

type SpreadsheetDatastoreInterface

type SpreadsheetDatastoreInterface interface {
	Values(ctx context.Context, spreadsheetId string, readRange string) (*ValueResponse, error)
}

func NewSpreadsheetDatastore

func NewSpreadsheetDatastore(ctx context.Context) (SpreadsheetDatastoreInterface, error)

type ValueResponse

type ValueResponse struct {
	Range          string
	MajorDimension string
	Values         [][]interface{}
}

Jump to

Keyboard shortcuts

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