Eventry
Eventry is a Go library for logging end users' actions into BigQuery.
Installation
Use the go get
command to install Eventry properly.
$ go get gitlab.com/_MyNameIsJakub_/GoEventry
Usage
First of all, you need to create a new Eventry instance and pass your GCP credentials to it.
eventry.Init(projectID, serviceAccountKey, datasetID)
projectID
is your GCP project ID.
serviceAccountKey
is a path to your GCP service account key file.
datasetID
is your BigQuery dataset ID.
Feel free to start logging all end users' actions into BigQuery after that.
eventry.LogEvent(userID, eventName)
Notice
Eventry is an experimental Go library. Don't use it in production, please.