gsheet

package
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2026 License: MIT Imports: 13 Imported by: 0

README

gsheet

Google Spreadsheet API v4を便利に使うユーティリティ関数

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendLine

func AppendLine(id string, writeRange string, v [][]interface{}) (*sheets.AppendValuesResponse, error)

func BatchUpdate

func BatchUpdate(spreadsheetID string, requests ...*sheets.Request) (*sheets.BatchUpdateSpreadsheetResponse, error)

func CopySheet1

func CopySheet1(id string, source string, dest string) (*sheets.SheetProperties, error)

func CopySheet2

func CopySheet2(id string, source string, dest string) (*sheets.SheetProperties, error)

func CreateNewSheet

func CreateNewSheet(id string, title string) (*sheets.AddSheetResponse, error)

func FindSheetId

func FindSheetId(sheet *sheets.Spreadsheet, name string) int64

func GetService

func GetService() (*sheets.Service, error)

func GetSheet

func GetSheet(id string) (*sheets.Spreadsheet, error)

func GetSheetValues

func GetSheetValues(id string, readRange string) (*sheets.ValueRange, error)

func NewService

func NewService(credentialFile string) (*sheets.Service, error)

func RenameSheetById

func RenameSheetById(id string, source int64, target string) (*sheets.BatchUpdateSpreadsheetResponse, error)

func RenameSheetByName

func RenameSheetByName(id string, source string, target string) (*sheets.BatchUpdateSpreadsheetResponse, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址