On Sat, May 22, 2021 at 3:26 PM Mosleh Saeidi <[email protected]> wrote:
>
> so what is the solution, I have a variable type is uint32, and now want to 
> convert a string to that variable ?

Note that you are replying to a message written in 2010.

To convert a string to an integer see https://golang.org/pkg/strconv/#ParseInt .

Ian

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/CAOyqgcW2i78XJa89b-XdZbQu-1-oZDxJZ_LzHd%2B8g%2Bcvvoa9aA%40mail.gmail.com.

Reply via email to