feat: disable GA events report by setting environment DISABLE_GA=true

This commit is contained in:
debugtalk
2022-04-05 11:49:29 +08:00
parent 7b6aa9213c
commit c2ba010f28
8 changed files with 30 additions and 3 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ func TestSendEvents(t *testing.T) {
Action: "SendEvents",
Value: 123,
}
err := gaClient.SendEvent(event)
err := SendEvent(event)
if err != nil {
t.Fatal(err)
}