issue-2: fixed trim function
This commit is contained in:
parent
5392050593
commit
6a26c1148b
1 changed files with 1 additions and 1 deletions
|
|
@ -41,5 +41,5 @@ func trim(ctx context.Context, args ucl.CallArgs) (any, error) {
|
||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
|
|
||||||
return strings.ToLower(s), nil
|
return strings.TrimSpace(s), nil
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue