From ca8eb1d421cbe4dbe6f80312b9cc6e1f9ed4a47c Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Sat, 19 May 2018 05:56:02 -0400 Subject: privatize some methods --- util.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util.go') 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() -- cgit v1.2.3