Golang String est le chiffre

if _, err := strconv.Atoi(v); err == nil {
    fmt.Printf("%q looks like a number.\n", v)
}
Dopey Diplodocus