summaryrefslogtreecommitdiff
path: root/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'util.go')
-rw-r--r--util.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.go b/util.go
index 803260920..3e0ac6374 100644
--- a/util.go
+++ b/util.go
@@ -4,13 +4,13 @@ import (
"net/url"
)
-func Assert(cond bool, msg string) {
+func assert(cond bool, msg string) {
if !cond {
panic(msg)
}
}
-func IsRemote(filename string) bool {
+func isRemote(filename string) bool {
u, err := url.Parse(filename)
check(err)
return u.IsAbs()