tablehandler

package
v0.3.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2021 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetHandler

func GetHandler() (*sheets.Service, error)

func ReadCell

func ReadCell(handler *sheets.Service, cell *Cell) (string, error)

func ReadRange

func ReadRange(handler *sheets.Service, cellRange *CellRange) ([]string, error)

func ReadRange2

func ReadRange2(handler *sheets.Service, cellRange *CellRange2) ([][]string, error)

func WriteCell

func WriteCell(handler *sheets.Service, cell *Cell, value string) error

func WriteRange

func WriteRange(handler *sheets.Service, cellRange *CellRange, valueList []string) error

func WriteRange2

func WriteRange2(handler *sheets.Service, cellRange *CellRange2, valueList [][]string) error

Types

type Cell

type Cell struct {
	Sheet string
	X     string
	Y     string
}

type CellRange

type CellRange struct {
	Sheet string
	X     string
	Y     string
	X2    string
}

type CellRange2

type CellRange2 struct {
	Sheet string
	X     string
	Y     string
	X2    string
	Y2    string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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