Documentation ¶
Index ¶
- func AppendToSheet(sheetsId string, values []interface{}) error
- func CallHttpGetEndpoint(apiEndpoint string, responseObject interface{}) error
- func GetAllSheetData(sheetsId string) ([][]interface{}, error)
- func GetOrCreateSheetsService() *sheets.Service
- func GetRHMobileStockQuoteUrl(stock string) string
- func GetRHWebStockQuoteUrl(stock string) string
- func Sanitize(input string) string
- func SendSlackNotification(msg string, channel string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AppendToSheet ¶ added in v0.1.2
Appends to first sheet of the spreadsheet sheetsService *sheets.Service,
func CallHttpGetEndpoint ¶
CallHttpGetEndpoint calls a given apiEndpoint and deserializes the response to user provided responseObject
func GetAllSheetData ¶ added in v0.1.2
func GetOrCreateSheetsService ¶ added in v0.1.3
func GetOrCreateSheetsService() *sheets.Service
func GetRHWebStockQuoteUrl ¶
func SendSlackNotification ¶
SendSlackNotification sends message to specified channel using webhookUrl Prereq: - Install "Incoming webhooks" app to your slack workplace - Provide the webhook url as environment variable
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.