mirror of
https://github.com/mgechev/revive.git
synced 2024-11-24 08:32:22 +02:00
18 lines
423 B
Go
18 lines
423 B
Go
package fixtures
|
|
|
|
import (
|
|
_ "strings"
|
|
bar_foo "strings"
|
|
fooBAR "strings"
|
|
v1 "strings" // MATCH /import name (v1) must NOT match the regular expression: ^((v\d+)|(v\d+alpha\d+))$/
|
|
v1alpha1 "strings" // MATCH /import name (v1alpha1) must NOT match the regular expression: ^((v\d+)|(v\d+alpha\d+))$/
|
|
magical "magic/hat"
|
|
)
|
|
|
|
func somefunc() {
|
|
fooBAR.Clone("")
|
|
bar_foo.Clone("")
|
|
v1.Clone("")
|
|
magical.Clone("")
|
|
}
|