TrioUtil is a golang package for use with Trio-Mobile SMS Provider. It's usage is based on Trio-Mobile's API.
$ go get github.com/pakej/go-trioutil
Import TrioUtil
import "github.com/pakej/go-trioutil"
Create a new trioutil reference
trio_token := "my-trio-mobile-token"
t := TrioUtil.New(trio_token)
Send an SMS
response, err := t.SendSms(phone, body)
if err != nil {
// handle the error
return
}
// do something with response
- Create your feature branch (
git checkout -b new-feature
) - Commit your changes (
git commit -am 'Some cool reflection'
) - Push to the branch (
git push origin new-feature
) - Create new Pull Request
MIT