You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
m := map[string]int64{"abc": math.MaxInt64}
strBytes, _ := json.Marshal(m)
json := string(strBytes)
//this json will be used by javascript,(as json is javascript),but javascript can't use this MaxInt64,
//so you should give an option to Marshal int64 as string