blaze
blaze copied to clipboard
Simple and minimal Go template for building fast and easy to develop web services
blaze
Simple and minimal Go template for building fast and type-safe backend applications
[!IMPORTANT] While blaze is already used and working flawlessly in production, it's still evolving and may have breaking changes in the future.
You can find the full documentation with examples here.
Features
- Minimal and low overhead
- Production ready
- Simple and conventional structure
- Fully compatible with standard net/http
- HTTP utilities and error handling
- Strict linting with golangci-lint
- Custom HTTP error handling
- Request payload validation
- Structured logging with zerolog
- Full AWS Lambda support (see serverless branch)
All described features are implemented in the httpcore
and util
package.
Stack
- chi: HTTP router (std net/http compatible)
- chi/middleware: middleware and hooks
- validator/v10: request body struct validation
- zerolog: Structured logging