add dummy routes and handlers and update makefile
This commit is contained in:
@@ -19,7 +19,17 @@ migrateup:
|
||||
.PHONY: run
|
||||
# Run all services
|
||||
run:
|
||||
go run ./service_a/server/main.go & go run ./service_b/server/main.go
|
||||
cd $(SERVICE_A) && go run ./server/main.go & cd $(SERVICE_B) && go run ./server/main.go
|
||||
|
||||
.PHONY: run-a
|
||||
# Run service_a only
|
||||
run-a:
|
||||
cd $(SERVICE_A) && go run ./server/main.go
|
||||
|
||||
.PHONY: run-b
|
||||
# Run service_b only
|
||||
run-b:
|
||||
cd $(SERVICE_B) && go run ./server/main.go
|
||||
|
||||
.PHONY: test
|
||||
# Run all tests with coverage
|
||||
|
||||
Reference in New Issue
Block a user