Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sentriz/go-natcmp
natural sort comparisons for Go
https://github.com/sentriz/go-natcmp
Last synced: 3 days ago
JSON representation
natural sort comparisons for Go
- Host: GitHub
- URL: https://github.com/sentriz/go-natcmp
- Owner: sentriz
- License: mit
- Created: 2024-06-13T20:29:01.000Z (7 months ago)
- Default Branch: master
- Last Pushed: 2024-07-05T17:00:00.000Z (6 months ago)
- Last Synced: 2024-12-23T20:39:49.622Z (10 days ago)
- Language: Go
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
natcmp provides [natural sort](https://en.wikipedia.org/wiki/Natural_sort_order) comparisons for Go. suitable for use with [slices.SortFunc](https://pkg.go.dev/slices#SortFunc) since go1.21
```
$ go get go.senan.xyz/natcmp
```[![godoc](https://img.shields.io/badge/pkg.go.dev-doc-blue)](http://pkg.go.dev/go.senan.xyz/natcmp)