Skip to content

Commit

Permalink
Merge pull request #16 from sprak3000/issue-15-update-blank-remove
Browse files Browse the repository at this point in the history
Issue #15 - option.go uses outdated method signature from blank package
  • Loading branch information
Henry Sarabia authored Nov 12, 2019
2 parents 3c5879b + cdf24d8 commit 6f37ca0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions option.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 6f37ca0

Please sign in to comment.