Documentation ¶
Index ¶
- type CLI
- func (s *CLI) ConvertToJSON(data SheetData, title string) (bool, error)
- func (s *CLI) GetSpreadsheet(spreadsheetID string) (*gosheet.Spreadsheet, error)
- func (s *CLI) ParseSpreadsheet(sheet gosheet.Sheet) *SheetData
- func (s *CLI) ReadSpreadsheet(spreadsheetID string, outputJSON bool) (*SpreadsheetData, error)
- func (s *CLI) UpdateSpreadsheet(spreadsheetID string, update ContentUpdate) (bool, error)
- type Cell
- type ContentUpdate
- type Sheet
- type SheetData
- type SpreadsheetData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
CLI is the NewServiceWithClient instance
func (*CLI) ConvertToJSON ¶
ConvertToJSON takes sheetData map, outputs JSON file
func (*CLI) GetSpreadsheet ¶
func (s *CLI) GetSpreadsheet(spreadsheetID string) (*gosheet.Spreadsheet, error)
GetSpreadsheet fetches the Google Spreadsheet with spreadsheetID
func (*CLI) ParseSpreadsheet ¶
ParseSpreadsheet ...
func (*CLI) ReadSpreadsheet ¶
func (s *CLI) ReadSpreadsheet(spreadsheetID string, outputJSON bool) (*SpreadsheetData, error)
ReadSpreadsheet wrapper
func (*CLI) UpdateSpreadsheet ¶
func (s *CLI) UpdateSpreadsheet(spreadsheetID string, update ContentUpdate) (bool, error)
UpdateSpreadsheet wrapper
type ContentUpdate ¶
ContentUpdate represents a single cell update value
type SpreadsheetData ¶
type SpreadsheetData []SheetData
SpreadsheetData is all data from spreadsheet
Click to show internal directories.
Click to hide internal directories.