1
0
Fork 0
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:
Henrik Hautakoski 2022-08-16 20:03:31 +02:00
parent 890ea537c6
commit 14c4e3764c
No known key found for this signature in database
GPG key ID: 608414D93E862CCD

View file

@ -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 != ""
}