Skip to content

Commit 20ebe69

Browse files
committed
code cleanup
1 parent 531c5fa commit 20ebe69

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/utils/utils.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -281,6 +281,7 @@ func TokenizeBy(str, separator string, keepQuotes, keepSeparator bool) []string
281281
return tokens
282282
}
283283

284+
// TrimQuotesList returns list of string with quotes removed
284285
func TrimQuotesList(list []string) (res []string, err error) {
285286
res = make([]string, len(list))
286287
for i := range list {
@@ -294,6 +295,7 @@ func TrimQuotesList(list []string) (res []string, err error) {
294295
return res, nil
295296
}
296297

298+
// TrimQuotes returns string with quotes removed
297299
func TrimQuotes(str string) (res string, err error) {
298300
switch {
299301
case strings.HasPrefix(str, "'"):

0 commit comments

Comments
 (0)