This repository provides common Go utilities and helpers that are reusable from project-to-project. The goal is to prevent code duplication by encouraging teams to use and contribute to toolkit libraries. The toolkit is not a framework. Rather, it is a set of (mostly gRPC-related) plugins and helpers.
Apache License 2.0
99
stars
115
forks
source link
bug report: pass []any as any in variadic function #332
Error: /home/runner/work/asasalint/asasalint/atlas-app-toolkit/gateway/errors.go:271:38: pass []any as any to func NewWithFields func(message string, kvpairs ...interface{}) github.com/infobloxopen/atlas-app-toolkit/gateway.MessageWithFields
i am writing a linter to lint that pass []any as any in variadic function
and run github Actions for some top go packages, this package failed
see github actions lint result here https://github.com/alingse/asasalint/runs/7284783491?check_suite_focus=true
here the args will pass as []any{args...} into
NewWithFields