Make a thing worth running #7

Merged
djsweet merged 3 commits from djsweet/lets-goooooo into main 2024-01-08 00:47:16 +00:00
2 changed files with 3 additions and 3 deletions
Showing only changes of commit a7747bca1e - Show all commits

View file

@ -35,7 +35,7 @@ Here's what to do if you haven't already set up your `GOPATH`:
variables: variables:
```shell ```shell
$ export SMSBB_ACCT_ID="..." # Your Twilio Account SID goes here $ export SMSBB_ACCT_SID="..." # Your Twilio Account SID goes here
$ export SMSBB_AUTH_TOKEN="..." # Your Twilio Auth Token goes here $ export SMSBB_AUTH_TOKEN="..." # Your Twilio Auth Token goes here
``` ```

View file

@ -11,11 +11,11 @@ import (
) )
func main () { func main () {
accountSid := os.Getenv("SMSBB_ACCT_ID") accountSid := os.Getenv("SMSBB_ACCT_SID")
authToken := os.Getenv("SMSBB_AUTH_TOKEN") authToken := os.Getenv("SMSBB_AUTH_TOKEN")
if (len(accountSid) == 0) { if (len(accountSid) == 0) {
fmt.Fprintf(os.Stderr, "Please set the SMSBB_ACCT_ID environment variable to your Twilio account ID\n") fmt.Fprintf(os.Stderr, "Please set the SMSBB_ACCT_SID environment variable to your Twilio account SID\n")
os.Exit(1) os.Exit(1)
} }