internal

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultOptions []option.ClientOption

Functions

This section is empty.

Types

type AddOption

type AddOption struct {
	SpreadsheetID string
	NewSheetTitle string
	Range         string
	Append        bool
	Debug         *log.Logger
	Verbose       *log.Logger
}

type SheetsService

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

func NewSheetsService

func NewSheetsService(ctx context.Context) (*SheetsService, error)

func (*SheetsService) AddCsvToSheet added in v1.1.0

func (s *SheetsService) AddCsvToSheet(ctx context.Context, spreadSheetId, sheetTitle, a1Range string, valueRange *sheets.ValueRange) error

func (*SheetsService) CreateNewSheet added in v1.1.0

func (s *SheetsService) CreateNewSheet(ctx context.Context, spreadSheetId, sheetTitle string) (int64, error)

func (*SheetsService) ReadCsv added in v1.1.0

func (s *SheetsService) ReadCsv(r io.Reader, sep rune) (*sheets.ValueRange, error)

func (*SheetsService) RetrieveSpreadsheet added in v1.1.0

func (s *SheetsService) RetrieveSpreadsheet(ctx context.Context, spreadsheetId string) (*sheets.Spreadsheet, error)

Jump to

Keyboard shortcuts

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