mirror of
https://github.com/mgechev/revive.git
synced 2024-11-30 08:57:07 +02:00
e10678fea5
* Fixes issue #619 imports-blacklist support regex * refactors method name and error message * restores original test cases Co-authored-by: chavacava <salvadorcavadini+github@gmail.com>
9 lines
219 B
Go
9 lines
219 B
Go
package fixtures
|
|
|
|
import (
|
|
"crypto/md5" // MATCH /should not use the following blacklisted import: "crypto/md5"/
|
|
"crypto/sha1" // MATCH /should not use the following blacklisted import: "crypto/sha1"/
|
|
"strings"
|
|
)
|
|
|