mirror of
https://github.com/akiyosi/goneovim.git
synced 2025-08-29 22:19:33 +02:00
go fmt
This commit is contained in:
parent
39eedc665c
commit
d15b0bb770
5 changed files with 70 additions and 69 deletions
|
@ -1,9 +1,9 @@
|
||||||
package util
|
package util
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"strings"
|
|
||||||
"os/user"
|
"os/user"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"strings"
|
||||||
|
|
||||||
"github.com/therecipe/qt/core"
|
"github.com/therecipe/qt/core"
|
||||||
"github.com/therecipe/qt/gui"
|
"github.com/therecipe/qt/gui"
|
||||||
|
@ -43,6 +43,7 @@ func ReflectToFloat(iface interface{}) float64 {
|
||||||
}
|
}
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
// IsZero determines if the value of interface{} is zero
|
// IsZero determines if the value of interface{} is zero
|
||||||
func IsZero(d interface{}) bool {
|
func IsZero(d interface{}) bool {
|
||||||
if d == nil {
|
if d == nil {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue