Skip to content

Latest commit

 

History

23 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go HTTP API Contract IO

Go

Consistent HTTP request and response handling for Go servers and clients, with strict JSON decoding, DTO-based validation, and standardized API errors.

go get go.leoweyr.com/go-http-api-contract-io/v3

The library generates a standardized error response body designed for consistent API communication:

{
  "error": {
    "message": "VALIDATION_FAILED",
    "details": {}
  }
}

About

Consistent HTTP request and response handling for Go servers and clients, with strict JSON decoding, DTO-based validation, and standardized API errors.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages