I am finding the way to cast an integer number in a long string format to int64 in Go. I used strconv.Atoi but it gave me an error said "value out of range". I searched for the answer I found
ParseInt(s string, base int, bitSize int) (i int64, err error)
in strconv package. However, I don't understand what value should I provide for the function arguments including base and bitSize.
I am trying to parse datastore.Key.IntID() in string format that I received from HTTP request back to int64 for creating new keys to perform query on Datastore.
Could anyone explain me a bit about the base and bitSize arguments and what values should I provide in the arguments in this case?