Documentation ¶
Index ¶
- func CreateSheet(service *sheets.Service, document *sheets.Spreadsheet, sheetNo int, ...) (int64, error)
- func CreateSpreadSheet(srv *sheets.Service, documentName string) (*sheets.Spreadsheet, error)
- func GetCoordinatesFromStreetAddress(client *maps.Client, address string) (longitude float64, latitude float64, throwErr error)
- func NewHttpClient(secretFilePath string, tokenFilename string, scopes []string, port int) (*http.Client, error)
- func NewMapClient(apiKey string) (*maps.Client, error)
- func NewSpreadsheetService(client *http.Client) (*sheets.Service, error)
- func UpdateColumnHeaders(service *sheets.Service, document *sheets.Spreadsheet, sheetName string, ...) error
- func UpdateColumnStyles(service *sheets.Service, document *sheets.Spreadsheet, sheetId int64, ...) error
- func UpdateRows(service *sheets.Service, document *sheets.Spreadsheet, sheetName string, ...) error
- type ColumnFormatConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateSheet ¶
func CreateSpreadSheet ¶
func NewHttpClient ¶
func NewHttpClient(secretFilePath string, tokenFilename string, scopes []string, port int) (*http.Client, error)
NewHttpClient returns an authenticated HTTP client which can be used by google API clients/services
func NewSpreadsheetService ¶
func UpdateColumnHeaders ¶
func UpdateColumnStyles ¶
func UpdateColumnStyles(service *sheets.Service, document *sheets.Spreadsheet, sheetId int64, columns []ColumnFormatConfig) error
func UpdateRows ¶
Types ¶
type ColumnFormatConfig ¶
Click to show internal directories.
Click to hide internal directories.