go - Golang overflows int64 -
i try use code, gives me error: constant 100000000000000000000000 overflows int64
how can fix ?
// initialise big numbers small numbers count, 1 := big.newint(100000000000000000000000), big.newint(1)
for example so:
count,one := new(big.int), big.newint(1) count.setstring("100000000000000000000000",10)
Comments
Post a Comment