erigon-pulse/cmd/hack/tool/tool.go

15 lines
175 B
Go
Raw Normal View History

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
}