erigon-pulse/cmd/hack/tool/tool.go
2021-02-11 16:36:22 +03:00

15 lines
175 B
Go

package tool
import "strconv"
func Check(e error) {
if e != nil {
panic(e)
}
}
func ParseFloat64(str string) float64 {
v, _ := strconv.ParseFloat(str, 64)
return v
}