spreadsheets

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Range

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

func GetRangeByName

func GetRangeByName(
	gService *sheets.SpreadsheetsService,
	gSpreadsheet *sheets.Spreadsheet,
	gSheet *sheets.Sheet,
	name string,
) (*Range, error)

func (*Range) ClearValues

func (r *Range) ClearValues() (*sheets.ClearValuesResponse, error)

func (*Range) GetValues

func (r *Range) GetValues() ([][]interface{}, error)

func (*Range) UpdateValues

func (r *Range) UpdateValues(values [][]interface{}, options ...option.Option) (*sheets.UpdateValuesResponse, error)

type Service

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

func NewService

func NewService(jwt *jwt.Config) (*Service, error)

func (*Service) GetSpreadsheetByID

func (s *Service) GetSpreadsheetByID(id string) (*Spreadsheet, error)

type Sheet

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

func GetSheetByTitle

func GetSheetByTitle(
	gService *sheets.SpreadsheetsService,
	gSpreadsheet *sheets.Spreadsheet,
	title string,
) (*Sheet, error)

func (*Sheet) GetRangeByName

func (s *Sheet) GetRangeByName(name string) (*Range, error)

type Spreadsheet

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

func GetSpreadsheetsByID

func GetSpreadsheetsByID(gService *sheets.SpreadsheetsService, id string) (*Spreadsheet, error)

func (*Spreadsheet) GetSheetByTitle

func (s *Spreadsheet) GetSheetByTitle(title string) (*Sheet, error)

Jump to

Keyboard shortcuts

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