From 04774e96a62d65670620c1ca7432729c735ad132 Mon Sep 17 00:00:00 2001 From: Kareem Mahlees Date: Fri, 29 Sep 2023 19:20:33 +0300 Subject: [PATCH] build: add graphql code generation script --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c413265..7cd6b37 100644 --- a/Makefile +++ b/Makefile @@ -15,4 +15,7 @@ cleanup_test: @docker compose down swag: @swag fmt - @swag init \ No newline at end of file + @swag init +generate: + @go get github.com/99designs/gqlgen + @go run github.com/99designs/gqlgen generate \ No newline at end of file