This program is to scrape daily lunch menu at Fairbinden blog and extract the main information to send to your Slack channel during weekdays.
Tech Stack
- Golang
- Colly
- CloudFunction
- Set up channel urls for productin and staging as export variables before cloud function is deployed and triggered
Examples
export channelPRD = "https://hooks.slack.com/services/xxxxxx/xxxxx/xxxxxxxxxxxxxxxxxxxxx"
export channelSTG = "https://hooks.slack.com/services/qqqqqq/sssss/sssssssssssssssssssss"
export channelOfficeBen = "https://app.slack.com/client/xxxxxxxxxxxxxxxx"
-
Deploy the code to Cloud Function with Golang 1.1 runtime
-
Set up a cloud scheduler to trigger the function at 10 a.m. every Weekday