DEV Community

Discussion on: How to convert an int type value to a string type value in Go or Golang?

Collapse
 
ccoveille profile image
Christophe Colombier

Interesting, I'm either using strconv.FormatInt or fmt.Sprintf("%d", strNum), never thought about fmt.Sprint.

I'm not even sure I knew it exited, thanks.

Collapse
 
melvin2016 profile image
MELVIN GEORGE

Glad it helped 😃. Christophe.