Open ribice opened 10 months ago
How I understand the question/case is a use case for:
project/cmd/service1/
project/cmd/service2/
Would it make sense for you to use separate configs for each cmd/service ?
.air_service1.toml
.air_service2.toml
Then
air -c CONFIG_FILE
(may wrap in make
commands/targets make air-service1
, make air-service2
)build/bin
or build/full_bin
options
Given that I have multiple binaries in /cmd (let's call them service1, service2), what's the proper way to select which service I want to run?
Ideally I want to achieve something like:
air service1
-> runs service1air service2
-> runs service2