1
0
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:
Adam Snyder
2022-08-07 22:40:51 -07:00
parent 084c0c8914
commit faa496ba7d
8 changed files with 153 additions and 0 deletions

View 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,
)
}