Versions in this module Expand all Collapse all v0 v0.3.0 Jan 13, 2024 v0.2.3 Jan 13, 2024 Changes in this version + func ClientWritable() func(c *Client) *Client + func WithCache(ctx context.Context) context.Context + type Client struct + func New(ctx context.Context, credentials, token string, opts ...ClientOption) (*Client, error) + func NewForCLI(ctx context.Context, authFile string, opts ...ClientOption) (*Client, error) + func (c *Client) BatchUpdate(ctx context.Context, spreadsheetID string, updateValues ...UpdateValue) error + func (c *Client) GetSheet(ctx context.Context, spreadsheetID, sheetName string) (*Sheet, error) + func (c *Client) GetSheetNames(ctx context.Context, spreadsheetID string) ([]string, error) + func (c *Client) GetTitle(ctx context.Context, spreadsheetID string) (string, error) + func (c *Client) Update(ctx context.Context, spreadsheetID, sheetName string, rowNo int, ...) error + type ClientOption func(c *Client) *Client + type Row struct + func (r *Row) Value(clm int) string + type Sheet struct + func NewSheet(t *testing.T, values [][]interface{}) *Sheet + func (s *Sheet) Rows() []sheets.Row + func (s *Sheet) Value(row, clm int) string + type UpdateValue struct + RowNo int + SheetName string + Values []interface{}