Skip to content

This library simplifies the processing of custom struct tags

License

Notifications You must be signed in to change notification settings

csutorasa/go-tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-tags

This library simplifies the processing of custom struct tags. The recommended use case are where framworks are generic, and use-cases could be more specific. Take inspiration from Well-known struct tags, where most use-cases are structured object data based converters.

Install

Go 1.22 is the minimum supported version.

go get github.com/csutorasa/go-tags

Example

The gotaghttp shows an example of how the net/http.Request variables can be parsed. Request body format, expected query and path parameters or form values are all gerenic, but most endpoints expect a few well defined values.

About

This library simplifies the processing of custom struct tags

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages