Amplitude client for Go. For additional documentation visit https://amplitude.com/docs or view the godocs.
$ go get github.com/savaki/amplitude-go
Full example of a simple event tracker.
apiKey := os.Getenv("AMPLITUDE_API_KEY")
client := amplitude.New(apiKey)
client.Publish(amplitude.Event{
UserId: "123",
EventType: "sample",
})