An url must start with a scheme (i.e. http://).
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to golang-nuts+unsubscr...@googlegroups.com.
For more options, visit
If a url frist character is a number like 5abc.cnd.com:443, it will throws
an error during url.parse()
I checked the url.go source code, and I noticed the root cause is the below
code( method getschema()):
case '0' <= c && c <= '9' || c == '+' || c == '-' || c == '.':
if i == 0 {
return "",