gsclient

package
v0.0.0-...-fff005a Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2018 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Sheet

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

Sheet contains reference to Google sheets service together with sheet ID

func New

func New(sheetID string) (*Sheet, error)

New constructs a new Sheet

func (*Sheet) GetTimeZones

func (s *Sheet) GetTimeZones() ([]models.UserTime, error)

GetTimeZones returns the list with users and their corresponding offset and currentTime

func (*Sheet) GetUsers

func (s *Sheet) GetUsers() (models.Users, error)

GetUsers returns all usernames from the WS Fleet sheet

Jump to

Keyboard shortcuts

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