Cleaned up linter warnings

This commit is contained in:
2024-06-27 20:54:07 +02:00
parent a64169d624
commit 77cfe9ff31
6 changed files with 29 additions and 28 deletions

@ -4,8 +4,8 @@ import (
"git.akyoto.dev/cli/q/src/build/token"
)
// List generates a list of expressions from comma separated parameters.
func List(tokens token.List) []*Expression {
// NewList generates a list of expressions from comma separated parameters.
func NewList(tokens token.List) []*Expression {
var list []*Expression
EachParameter(tokens, func(parameter token.List) error {