.PHONY: * setup: go run . setup # Example: go run -mod=mod entgo.io/ent/cmd/ent new User ent: go generate ./ent grpc-web: grpcwebproxy --backend_addr=localhost:8081 --run_http_server --run_tls_server=false --server_http_debug_port 18081 --allow_all_origins --server_bind_address 127.0.0.1 install-deps: go install github.com/swaggo/swag/cmd/swag@latest curl -sSf https://atlasgo.sh | sh echo "Buf install: https://buf.build/docs/installation" swag: swag init -g internal/routes/router.go --parseDependency hash-migration: atlas migrate hash --dir "file://internal/migrations" proto: buf dep update buf generate