mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-16 04:44:55 +02:00
Remove src/utils/is_url.go
This commit is contained in:
parent
890ea537c6
commit
14c4e3764c
1 changed files with 0 additions and 9 deletions
|
|
@ -1,9 +0,0 @@
|
|||
|
||||
package utils
|
||||
|
||||
import "net/url"
|
||||
|
||||
func IsUrl(str string) bool {
|
||||
u, err := url.Parse(str)
|
||||
return err == nil && u.Scheme != "" && u.Host != ""
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue