How to resolve those golang-ci lint issue

Proper is to expose the type, such that one can use it to argue and reason about own code, while not exposing it’s internal fields.

1 Like