Skip to content

Echo Framework Response Formatter

License

Notifications You must be signed in to change notification settings

heroshe/echoresponse

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Echo Framework Response Formatter

This is a VERY opinionated package to format HTTP responses. It absolutely depends on Echo Framework

Response Format

It returns JSON responses only Two keys are a present in the JSON string.

msg => string

payload => interface{}

payload could be anything. Map, List, Int, String

Why?

I got tired of writing and duplicating the same code across most of my projects.

Use it if you want/like/don't like :)

About

Echo Framework Response Formatter

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 100.0%