aboutsummaryrefslogtreecommitdiffhomepage
path: root/backend
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2024-07-29 23:33:21 +0900
committernsfisis <nsfisis@gmail.com>2024-07-29 23:33:21 +0900
commit7e2704c90ffba3612bd87ed342d4f310b0de78c0 (patch)
tree13cb03509137e78235a99cdab4f3b1faed01d1f0 /backend
parent7720afcdc383632f7672d355456909f78be1e948 (diff)
downloadiosdc-japan-2024-albatross-7e2704c90ffba3612bd87ed342d4f310b0de78c0.tar.gz
iosdc-japan-2024-albatross-7e2704c90ffba3612bd87ed342d4f310b0de78c0.tar.zst
iosdc-japan-2024-albatross-7e2704c90ffba3612bd87ed342d4f310b0de78c0.zip
chore(backend): add `make lint`
Diffstat (limited to 'backend')
-rw-r--r--backend/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/backend/Makefile b/backend/Makefile
index 8213e5d..3b26e00 100644
--- a/backend/Makefile
+++ b/backend/Makefile
@@ -6,6 +6,10 @@ fmt:
check:
go build -o /dev/null ./...
+.PHONY: lint
+lint:
+ go vet ./...
+
.PHONY: oapi-codegen
oapi-codegen:
go run github.com/oapi-codegen/oapi-codegen/v2/cmd/oapi-codegen -config oapi-codegen.yaml ../openapi.yaml