mirror of
https://github.com/redis/go-redis.git
synced 2025-07-31 05:04:23 +03:00
test: vet that all Cmders have a SetVal() method
This commit is contained in:
12
internal/customvet/main.go
Normal file
12
internal/customvet/main.go
Normal file
@ -0,0 +1,12 @@
|
||||
package main
|
||||
|
||||
import (
|
||||
"github.com/go-redis/redis/internal/customvet/checks/setval"
|
||||
"golang.org/x/tools/go/analysis/multichecker"
|
||||
)
|
||||
|
||||
func main() {
|
||||
multichecker.Main(
|
||||
setval.Analyzer,
|
||||
)
|
||||
}
|
Reference in New Issue
Block a user