Documentation ¶
Index ¶
- func AddNewSheet(srv *sheets.Service, spreadsheetId string, title string) (*sheets.BatchUpdateSpreadsheetResponse, error)
- func AppendRow(srv *sheets.Service, spreadsheetId string, sheetId int64, values []interface{}) (*sheets.BatchUpdateSpreadsheetResponse, error)
- func DebugBatchUpdateSpreadsheetResponse(resp *sheets.BatchUpdateSpreadsheetResponse)
- func GetSpreadSheetURL(spreadsheetId string) string
- func ReadSheetValuesRange(srv *sheets.Service, spreadsheetId, readRange string) (*sheets.ValueRange, error)
- func ValuesToCellData(values []interface{}) (cells []*sheets.CellData)
- func WriteStructHeader(srv *sheets.Service, spreadsheetId string, sheetId int64, structTag string, ...) (*sheets.BatchUpdateSpreadsheetResponse, error)
- func WriteStructValues(srv *sheets.Service, spreadsheetId string, sheetId int64, structTag string, ...) (*sheets.BatchUpdateSpreadsheetResponse, error)
- type SpreadSheetService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNewSheet ¶
func DebugBatchUpdateSpreadsheetResponse ¶
func DebugBatchUpdateSpreadsheetResponse(resp *sheets.BatchUpdateSpreadsheetResponse)
func GetSpreadSheetURL ¶
func ReadSheetValuesRange ¶
func ValuesToCellData ¶
func ValuesToCellData(values []interface{}) (cells []*sheets.CellData)
func WriteStructHeader ¶
Types ¶
type SpreadSheetService ¶
type SpreadSheetService struct { SpreadsheetID string TokenFile string // contains filtered or unexported fields }
func NewSpreadSheetService ¶
func NewSpreadSheetService(ctx context.Context, tokenFile string, spreadsheetID string) *SpreadSheetService
Click to show internal directories.
Click to hide internal directories.