https://github.com/mislav/go-utils
https://github.com/mislav/go-utils
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mislav/go-utils
- Owner: mislav
- License: cc0-1.0
- Created: 2016-02-09T07:32:17.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-26T14:37:27.000Z (about 9 years ago)
- Last Synced: 2025-02-25T10:47:41.629Z (4 months ago)
- Language: Go
- Size: 16.6 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Useful utils for Go command-line programs
### `cli` package
* `cli.Args` struct: a better `os.Args`
* `cli.Register()`, `cli.Lookup()`: register and lookup CLI subcommands### `api` package
* `api.Client` struct: thin wrapper around `net/http`
### `pathname` package
* `pathname.Pathname` struct: Ruby `Pathname`-like handling of filesystem paths
### `utils` package
* `utils.Env` struct: a map-based approach to `os.Environ()`
* `utils.Set` struct