Closed CodingDoug closed 1 year ago
The problem is in the library we're using (https://github.com/rodaine/table). It prints values using the default formatter with fmt.Sprint
:
v := strings.Split(fmt.Sprint(val), "\n")
It does not seem to have an option to pass a different formatter. What I can do is format the float64 value to string before passing it to the library.