Install & Compatibility
Where this runs
No compatibility data collected yet for this library.
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
gotwilio
✓ github.com/sfreiberg/gotwilio
Sends an SMS message using Twilio.
package main
import (
"fmt"
"github.com/sfreiberg/gotwilio"
)
func main() {
client := gotwilio.NewTwilioClient("ACCOUNT_SID", "AUTH_TOKEN")
resp, err := client.SendSMS("+1234567890", "+0987654321", "Hello", "", "")
if err != nil {
panic(err)
}
fmt.Println(resp.Sid)
}
Debug
Known issues
No known issues recorded.
Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies
No dependency data recorded yet.