Documentation ¶
Index ¶
- func ExtractYearFromTitle(input string) string
- func IsNumeric(value string) bool
- type SheetsClient
- func (client *SheetsClient) GetFieldnamesFromSpreadsheet(spreadsheet *sheets.Spreadsheet) (map[string]bool, error)
- func (client *SheetsClient) GetSpreadsheetByID(spreadsheetID string) (*sheets.Spreadsheet, error)
- func (client *SheetsClient) GetSpreadsheetByYear(year string) (*sheets.Spreadsheet, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractYearFromTitle ¶
Types ¶
type SheetsClient ¶
type SheetsClient struct { Service *sheets.Service RequestTimeout time.Duration // contains filtered or unexported fields }
func (*SheetsClient) GetFieldnamesFromSpreadsheet ¶
func (client *SheetsClient) GetFieldnamesFromSpreadsheet( spreadsheet *sheets.Spreadsheet) (map[string]bool, error)
getFieldnamesFromSpreadsheet parses all existing column (field) names from every sheet in a specified spreadsheet
func (*SheetsClient) GetSpreadsheetByID ¶
func (client *SheetsClient) GetSpreadsheetByID(spreadsheetID string) (*sheets.Spreadsheet, error)
func (*SheetsClient) GetSpreadsheetByYear ¶
func (client *SheetsClient) GetSpreadsheetByYear(year string) (*sheets.Spreadsheet, error)
Click to show internal directories.
Click to hide internal directories.