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) 

link: http://play.golang.org/p/eexoovos9z


Comments

Popular posts from this blog

c# - Validate object ID from GET to POST -

node.js - Custom Model Validator SailsJS -

php - Find a regex to take part of Email -