Skip to content

Commit

Permalink
Release 2.1.2
Browse files Browse the repository at this point in the history
  • Loading branch information
王洋洋 committed Mar 28, 2023
1 parent 82c1c30 commit 20b33cf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file added .DS_Store
Binary file not shown.
4 changes: 2 additions & 2 deletions track.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
)

const (
SDK_VERSION = "2.1.1"
SDK_VERSION = "2.1.2"
LIB_NAME = "Golang"
)

Expand Down Expand Up @@ -192,11 +192,11 @@ func getLibProperties() structs.LibProperties {
func extractUserTime(p map[string]interface{}) int64 {
if t, ok := p["$time"]; ok {
v, ok := t.(int64)
delete(p, "$time")
if !ok {
fmt.Fprintln(os.Stderr, "It's not ok for type string")
return 0
}
delete(p, "$time")

return v
}
Expand Down

0 comments on commit 20b33cf

Please sign in to comment.