diff options
| author | Shulhan <ms@kilabit.info> | 2025-01-26 15:46:23 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2025-02-08 15:28:44 +0700 |
| commit | 77e055b2e0da5d76ca6651020f0eb990a6787e88 (patch) | |
| tree | b32e4aae63c1e036140d592164a09423052139a1 /Makefile | |
| parent | 3826603fb49edda796c2a5541b39b5bb00d3745c (diff) | |
| download | rescached-77e055b2e0da5d76ca6651020f0eb990a6787e88.tar.xz | |
internal/cmd/gocheck: add internal static analyzers
Instead of using binary fieldalignment and shadow, run them by creating
command that call the same Analyzer internally.
This analyzers help finding possible panic on httpd.go.
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -71,8 +71,7 @@ test.prof: .PHONY: lint lint: - -fieldalignment ./... - -shadow ./... + go run ./internal/cmd/gocheck ./... go vet ./... -reuse lint |
