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

github.com/zafnz/structsort

structsort sorts a supplied list of structs by an arbitrary supplied field. You do not need to know the name of the field ahead of time, it's type, or even if it exists in the struct. It can sort by anything that is either a native type, implements a Compare() method (see customCompare example, or implements a String() function.

Ecosystem
proxy.golang.org
Latest Release
v1.0.3
almost 4 years ago
Versions
4
Links
Registry proxy.golang.org
Source Repository
Docs Documentation
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:golang/github.com/zafnz/structsort
spec
License MIT
Namespace github.com/zafnz
First Release about 4 years ago
Last Synced 17 days ago
Keywords
go golang sort sorting
Repository
Stars 1 on GitHub
Forks 0 on GitHub
Rankings on proxy.golang.org
Overall Top 8.2%