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

javascript - Google App Script ContentService downloadAsFile not working -

javascript - Function overwritting -

c# - Exception when attempting to modify Dictionary -