update
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package core
|
||||
|
||||
import (
|
||||
"strconv"
|
||||
|
||||
"github.com/google/uuid"
|
||||
)
|
||||
|
||||
@@ -8,3 +10,8 @@ func GetUUID() string {
|
||||
u2, _ := uuid.NewUUID()
|
||||
return u2.String()
|
||||
}
|
||||
|
||||
func Float64(str string) float64 {
|
||||
f, _ := strconv.ParseFloat(str, 64)
|
||||
return f
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user