github.com/bingoohuang/gg@v0.0.0-20240325092523-45da7dee9335/pkg/reflector/makefile (about) 1 .PHONY: test 2 test: lint 3 go test -race ./... 4 5 .PHONY: test-performance 6 test-performance: 7 N=1000000 go test -race -v ./... -run=TestPerformance 8 9 .PHONY: install 10 install: check test 11 go install ./... 12 13 .PHONY: lint 14 lint: 15 go vet ./... 16 golangci-lint run 17 18 .PHONY: install-tools 19 install-tools: 20 go get -u github.com/fzipp/gocyclo 21 go get -u github.com/golang/lint 22 go get -u github.com/kisielk/errcheck