golangci: Use depguard to prevent using restricted packages (#7825)
Enabling this linter in golangci will check that we are not using restricted packages, and when a match is found, it will provide a message suggesting the alternative package. In this particular case, we enable it for `sync/atomic`. Signed-off-by: Javier Palomo <javier.palomo.almena@gmail.com>pull/7834/head^2
parent
624075eafe
commit
7ec647dbe9
Loading…
Reference in new issue