feat(analytics): vendor code for google analytics

Signed-off-by: Pawan <pawan@mayadata.io>
This commit is contained in:
Pawan 2020-02-26 11:32:22 +05:30 committed by Kiran Mova
parent d608dbacd8
commit dc5edb901c
23 changed files with 2620 additions and 0 deletions

19
vendor/github.com/jpillora/go-ogle-analytics/conv.go generated vendored Normal file
View file

@ -0,0 +1,19 @@
package ga
import "fmt"
func bool2str(val bool) string {
if val {
return "1"
} else {
return "0"
}
}
func int2str(val int64) string {
return fmt.Sprintf("%d", val)
}
func float2str(val float64) string {
return fmt.Sprintf("%.6f", val)
}