gitee.com/mirrors/goreporter@v0.0.0-20180902115603-df1b20f7c5d0/linters/staticcheck/testdata/CheckURLs.go (about) 1 package pkg 2 3 import "net/url" 4 5 func fn() { 6 url.Parse("foobar") 7 url.Parse(":") // MATCH /is not a valid URL/ 8 url.Parse("https://golang.org") 9 }