Add newline to previous print change.
This commit is contained in:
parent
6be128a843
commit
195ada0979
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ func displayGeneric(reply interface{}) error {
|
||||||
// is returned if a float64 is not passed.
|
// is returned if a float64 is not passed.
|
||||||
func displayFloat64(reply interface{}) error {
|
func displayFloat64(reply interface{}) error {
|
||||||
if val, ok := reply.(float64); ok {
|
if val, ok := reply.(float64); ok {
|
||||||
fmt.Printf("%f", val)
|
fmt.Printf("%f\n", val)
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue