package
1.0.4
Repository: https://github.com/shkshariq/go-util.git
Documentation: pkg.go.dev

# README

Response

Response helper package of core library

Usage

Render an error

import "github.com/shkshariq/go-util/response"

response.HandleError(ctx, err, w)

Above will check the error type and if

  • Error is a DomainError api response render helpers will generate following output
    

# Functions

No description provided by the author