Skip to content

paologaleotti/blaze

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

blaze

logo

Simple and minimal Go template for building fast, simple and mantainable web services and 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 and base on standard net/http
  • Strict linting with golangci-lint
  • Custom HTTP error handling
  • Request payload validation
  • Structured logging with zerolog
  • Full AWS Lambda support (see serverless branch)

All utilities 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