gsheets

package module
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	Service *sheets.Service
}

func New

func New(service *sheets.Service) *Service

func (*Service) Spreadsheet

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

type Sheet

type Sheet struct {
	Service     *sheets.Service
	Spreadsheet *sheets.Spreadsheet
	Sheet       *sheets.Sheet
}

func (*Sheet) Append

func (s *Sheet) Append(notation string, values [][]string) error

func (*Sheet) AppendAny

func (s *Sheet) AppendAny(notation string, values [][]any, option string) error

func (*Sheet) Clear

func (s *Sheet) Clear(notation string) error

func (*Sheet) Get

func (s *Sheet) Get(notation string) ([][]string, error)

func (*Sheet) GetAny

func (s *Sheet) GetAny(notation string) ([][]any, error)

func (*Sheet) InsertRows

func (s *Sheet) InsertRows(start int, rows [][]string) error

func (*Sheet) Update

func (s *Sheet) Update(notation string, values [][]string) error

func (*Sheet) UpdateAny

func (s *Sheet) UpdateAny(notation string, values [][]any, option string) error

type Spreadsheet

type Spreadsheet struct {
	Service     *sheets.Service
	Spreadsheet *sheets.Spreadsheet
}

func (*Spreadsheet) Sheet

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

Jump to

Keyboard shortcuts

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