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
Click to show internal directories.
Click to hide internal directories.