gosheets

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SerialToTime

func SerialToTime(serial float64, loc *time.Location) time.Time

func SheetToMap

func SheetToMap(sheet [][]interface{}) []map[string]interface{}

Types

type SerialTime

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

func (SerialTime) Time

func (s SerialTime) Time(loc *time.Location) time.Time

func (*SerialTime) UnmarshalJSON

func (s *SerialTime) UnmarshalJSON(b []byte) error

type SheetService

type SheetService struct {
	*sheets.Service
}

func NewSheetService

func NewSheetService() *SheetService

func (*SheetService) BatchGet

func (ss *SheetService) BatchGet(key string, sheetRanges []string) [][][]interface{}

func (*SheetService) Get

func (ss *SheetService) Get(key string, sheetRange string) [][]interface{}

func (*SheetService) SheetRange

func (ss *SheetService) SheetRange(sheet, getRange string) string

Jump to

Keyboard shortcuts

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