Skip to content

Instantly share code, notes, and snippets.

@jirfag
Created July 1, 2018 13:20
Show Gist options
  • Save jirfag/798ce392744fc3ca5e8347e962469977 to your computer and use it in GitHub Desktop.
Save jirfag/798ce392744fc3ca5e8347e962469977 to your computer and use it in GitHub Desktop.
Depguard demo in golangci-lint
package logger
import (
"github.com/sirupsen/logrus" //nolint:depguard
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment