googless

package
v0.0.0-...-85bff03 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Credentials string
	Token       string
	Scope       string
}

func NewConfig

func NewConfig() *Config

type GoogleSS

type GoogleSS struct {
	Config  *Config
	Service *sheets.Service
}

func Default

func Default() (*GoogleSS, error)

func New

func New(config *Config) (*GoogleSS, error)

func (*GoogleSS) NewSheet

func (ss *GoogleSS) NewSheet(sheetsID, sheetname string) (*sheets.BatchUpdateSpreadsheetResponse, error)

func (*GoogleSS) NewSpreadSheets

func (ss *GoogleSS) NewSpreadSheets(ctx context.Context, name string) (*sheets.Spreadsheet, error)

func (*GoogleSS) Update

func (ss *GoogleSS) Update(sheetsID, range_ string, value *sheets.ValueRange) (*sheets.UpdateValuesResponse, error)

Jump to

Keyboard shortcuts

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