You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @mirecl , are you saying your goal is to forbid using an entire package? You could use a wildcard pattern like 'fmt\.*' to forbid use of any identifiers from a specific package. forbidigo is pretty simple and doesn't look at the import list. That does sound like it could be a useful feature though. What package are you looking to forbid?
I was wondering if you've also taken a look at https://revive.run/r#imports-blacklist, which deals in whole packages. I realize your original message asks about "ignoring" rather than "forbidding" a package, so I realize I may not be understanding what you're suggesting.
Hello, how to ignore internal package always?
The text was updated successfully, but these errors were encountered: