A simple utility to check if a string is a number. Port from is-number. Checkout my other open source projects at kics223w1. Welcome to contribute to this project.
go get github.com/kics223w1/numutils
import "github.com/kics223w1/numutils"
numutils.IsNumber("123") // true
numutils.IsNumber("abc") // false