This commit is contained in:
akiyosi 2020-11-28 09:21:42 +09:00
parent 39eedc665c
commit d15b0bb770
5 changed files with 70 additions and 69 deletions

View file

@ -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 {