Follow these steps to get the project running locally:
- Go 1.23+
- A terminal emulator (e.g., bash, zsh, PowerShell)
- Optional: Docker (for advanced testing)
- Clone the repository:
git clone https://github.com/cresplanex/bloader.git
- Navigate into the project directory:
cd bloader - Install dependencies:
go mod tidy
- Format the code:
gofumpt -extra -w . - Format package imports:
find . -name "*.go" -not -path "./gen/*" -exec goimports -w -local github.com/cresplanex/bloader {} +
- Run linting:
golangci-lint run
- Run the CLI:
go run main.go
Run all tests using gotestsum:
gotestsum --format=short-verbose- Use
gofumpt,goimportsandgolangci-lintintegrations in your editor for a smooth workflow. - If you also want to make changes to the
proto, consider introducing bufCLI commands into the editor integration flow. - Use Docker if you need to test integrations or other advanced features.
You're all set! 🚀