splinter
Reference
Next Steps
argsOffset := map[string]int{
"go.zr.org/common/go/log+Debug": 3,
"go.zr.org/common/go/log+Info": 3,
"go.zr.org/common/go/log+Log": 3,
"go.zr.org/common/go/log+InfoSampled": 4,
"go.zr.org/common/go/log+NewFromWriter": 1,
"go.zr.org/common/go/log+WithDetails": 1,
"go.zr.org/common/go/log+NewBuffer": 0,
"go.zr.org/common/go/errors+Wrap": 2,
"go.zr.org/common/go/errors/details+NewPairs": 0,
}
In the latest golangci-lint config, I see this:
# The custom section can be used to define linter plugins to be loaded at runtime. See README doc
# for more info.
custom:
# Each custom linter should have a unique name.
example:
# The path to the plugin *.so. Can be absolute or local. Required for each custom linter
path: /path/to/example.so
# The description of the linter. Optional, just for documentation purposes.
description: This is an example usage of a plugin linter.
# Intended to point to the repo location of the linter. Optional, just for documentation purposes.
original-url: github.com/golangci/example-linter