- Go 1.22+
- Bazelisk
- Initialize
go.work
go work init ./bar ./foo ./lib ./api
- Sync modules in workspace
go work sync
- Update BUILD files
bazel run //:gazelle
- Sync go dependencies
bazel run //:gazellel-update-repos
- Run tests
bazel test //...
- Build binaries
bazel build //...
- Run binary
bazel run //foo
bazel run //bar
- Run all
tilt up