From cdf24d8e5cd1bedaf561cb5901126bbcf0fc616f Mon Sep 17 00:00:00 2001 From: sprak3000 Date: Wed, 9 Oct 2019 20:55:53 -0400 Subject: [PATCH] Issue #15 - option.go uses outdated method signature from blank package * Update to use new signature `blank.Remove()`. --- option.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/option.go b/option.go index 11aa2fc..53c974c 100644 --- a/option.go +++ b/option.go @@ -50,7 +50,7 @@ func Fields(fields ...string) Option { } f := strings.Join(fields, ",") - f = blank.RemoveSpace(f) + f = blank.Remove(f) filters["fields"] = f return nil @@ -71,7 +71,7 @@ func Exclude(fields ...string) Option { } f := strings.Join(fields, ",") - f = blank.RemoveSpace(f) + f = blank.Remove(f) filters["exclude"] = f return nil