On Sun, Nov 5, 2017 at 10:09 PM Chun Zhang <chunzh...@gmail.com> wrote:

> I have a group of integers ranging from 1 to 2^32 that are in the format
of uint32.

Assuming you mean 'to 2^32-1'.

> However, I am wondering if I use string(i) only, will I get any two
numbers the same string representation? My guess is no, but would like to
get some comments from you experts.

It's specified
<https://golang.org/ref/spec#Conversions_to_and_from_a_string_type>, see
https://play.golang.org/p/70efZ9FgME


-- 

-j

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to