8000 GitHub - csutorasa/go-tags: This library simplifies the processing of custom struct tags
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

csutorasa/go-tags

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 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

No packages published

Languages

0