spreadsheet

package
v0.0.0-...-5bc8fce Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SpreadsheetID string

Functions

func NewSpreadsheetRepository

func NewSpreadsheetRepository(ssClient *sheets.Service) repository.SpreadsheetRepository

func SpreadSheetClient

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

Types

type SpreadsheetRepository

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

func (*SpreadsheetRepository) GetSpreadsheetDataBySlackID

func (r *SpreadsheetRepository) GetSpreadsheetDataBySlackID(ctx context.Context, userID string) (*model.SpreadsheetData, error)

func (*SpreadsheetRepository) UpdateSpreadsheet

func (r *SpreadsheetRepository) UpdateSpreadsheet(ctx context.Context, update model.SpreadsheetData) error

Jump to

Keyboard shortcuts

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