Suppose I have an array with 2 items whose type is string / float. How should I print them together without scientific notation for float item.
For example:
package main
import (
"fmt"
)
func main() {
values := []interface{}{"mydata", 1234567890.123}
for _, v := range values{
fmt.Printf("%v
", v)
}
}
The output will be
mydata
1.234567890123e+09
What I want is
mydata
1234567890.123