gameanalytics-go is an inofficial sdk for gameanalytics which is written in go.
It currently can send the following events:
- Business
- Design
- Error
- Progression
- Ressource
- Session Events (user, session_end)
Install via go get
go get tobiasbeck/gameanalytics-go
import gameanalytics tobiasbeck/gameanalytics-go
func main() {
client := gameanalytics.NewClient(key, secret)
ctx := context.TODO()
client.StartSession(ctx, "123456")
}
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.