drive

package
v0.0.0-...-51943a4 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DevRootFolderID = "1KNcBa-GjA9Uz8LJ5OYs_zfWRvFRDVu1d"

	// ID of this year's root folder (e.g. the "emoji hunt/2023" folder)
	ProdRootFolderID = "1qrztjHhZuM0FT09HKHuRiwvGHs1Lepcz"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(ctx context.Context, prod bool) *Client

func (*Client) CreateFolder

func (c *Client) CreateFolder(ctx context.Context, name string) (id string, err error)

func (*Client) CreateSheet

func (c *Client) CreateSheet(ctx context.Context, name string) (id string, err error)

func (*Client) SetFolderName

func (c *Client) SetFolderName(ctx context.Context, folderID, name string) error

func (*Client) SetSheetFolder

func (c *Client) SetSheetFolder(ctx context.Context, sheetID, folderID string) error

func (*Client) SetSheetTitle

func (c *Client) SetSheetTitle(ctx context.Context, sheetID, title string) error

Jump to

Keyboard shortcuts

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