From eb5187bfd08d619ccd62f79f9af5157f1d7829a6 Mon Sep 17 00:00:00 2001 From: Matt Jaffee Date: Mon, 14 May 2018 17:35:43 -0500 Subject: [PATCH] remove encode/decodeURIs --- uri.go | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/uri.go b/uri.go index dfb82baef..7ab606788 100644 --- a/uri.go +++ b/uri.go @@ -234,28 +234,6 @@ func decodeURI(i *internal.URI) URI { } } -func encodeURIs(a []URI) []*internal.URI { - if len(a) == 0 { - return nil - } - other := make([]*internal.URI, len(a)) - for i := range a { - other[i] = encodeURI(a[i]) - } - return other -} - -func decodeURIs(a []*internal.URI) []URI { - if len(a) == 0 { - return nil - } - other := make([]URI, len(a)) - for i := range a { - other[i] = decodeURI(a[i]) - } - return other -} - // MarshalJSON marshals URI into a JSON-encoded byte slice. func (u *URI) MarshalJSON() ([]byte, error) { var output struct {