General
API
Language libraries
External Services
Other
Track Stats with Go
1. Install the package:
$ go get github.com/stathat/go
2. Import it in your code:
import ( "github.com/stathat/go" )
3. Make calls to StatHat. You do not need to create the stats first
using the web interface.
stathat.PostEZCount("messages sent - female to male", "YOUR_EZKEY", 1) stathat.PostEZValue("server load average", "YOUR_EZKEY", 0.622)
4. Go view your stats!