Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

Top 9.1% on proxy.golang.org

proxy.golang.org : github.com/liip/sheriff/v2

Package sheriff transforms structs into a map based on specific tags on the struct fields. A typical use is an API which marshals structs into JSON and maintains different API versions. Using sheriff, struct fields can be annotated with API version and group tags. By invoking sheriff with specific options, those tags determine whether a field will be added to the output map or not. It can then be marshalled using "encoding/json".

Registry - Source - Documentation - JSON
purl: pkg:golang/github.com/liip/sheriff/v2
Keywords: golang, json, marshalling, reflection
License: BSD-3-Clause
Latest release: 2 months ago
First release: 2 months ago
Namespace: github.com/liip/sheriff
Stars: 240 on GitHub
Forks: 29 on GitHub
See more repository details: repos.ecosyste.ms
Last synced: 8 days ago

    Loading...
    Readme
    Loading...