Documentation ¶
Index ¶
- type GoSpread
- func (g *GoSpread) AppendRows(spreadsheetId string, sheetName string, values [][]interface{}) error
- func (g *GoSpread) BatchUpdate(spreadsheetId string, req *sheets.BatchUpdateSpreadsheetRequest) (*sheets.BatchUpdateSpreadsheetResponse, error)
- func (g *GoSpread) BatchUpdateValues(spreadsheetId string, ...) (*sheets.BatchUpdateValuesResponse, error)
- func (g *GoSpread) CreateSheet(spreadsheetId string, sheetName string) error
- func (g *GoSpread) DeleteAllSheet(spreadsheetId string, exclusionSheet []string) error
- func (g *GoSpread) DeleteSheet(spreadsheetId string, sheetId int64) error
- func (g *GoSpread) DeleteSheetByName(spreadsheetId string, sheetName string) error
- func (g *GoSpread) GetSpreadSheet(spreadsheetId string) (*sheets.Spreadsheet, error)
- func (g *GoSpread) GetValues(spreadSheetId string, sheetName string, _range string) (*sheets.ValueRange, error)
- func (g *GoSpread) MoveSheet(sheetId int64, index int64, spreadsheetId string) error
- func (g *GoSpread) SheetExists(spreadsheetId string, sheetName string) bool
- func (g *GoSpread) SheetId(spreadsheetId string, sheetName string) (int64, error)
- func (g *GoSpread) SortSheets(spreadsheetId string) error
- func (g *GoSpread) UpdateValues(spreadsheetId string, updateRange string, value *sheets.ValueRange) (*sheets.UpdateValuesResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoSpread ¶
type GoSpread struct {
*sheets.Service
}
func NewGoSpreadWithCredentialFile ¶
NewGoSpreadWithCredentialFile is credential fileを引数にGoSpreadを生成
func (*GoSpread) AppendRows ¶
func (*GoSpread) BatchUpdate ¶
func (*GoSpread) BatchUpdateValues ¶ added in v0.2.0
func (*GoSpread) CreateSheet ¶
func (*GoSpread) DeleteAllSheet ¶
func (*GoSpread) DeleteSheet ¶
func (*GoSpread) DeleteSheetByName ¶
func (*GoSpread) GetSpreadSheet ¶
func (*GoSpread) GetValues ¶
func (g *GoSpread) GetValues(spreadSheetId string, sheetName string, _range string) (*sheets.ValueRange, error)
GetValues: Get sheet data
func (*GoSpread) SheetExists ¶
SheetExists: Check sheet exists.
func (*GoSpread) SortSheets ¶
Click to show internal directories.
Click to hide internal directories.