https://github.com/cthulhu/go-steun
Collection of small things gopher needs for everyday projects
https://github.com/cthulhu/go-steun
fixtures golang pointer pointers retry structs timeid tools uri
Last synced: 3 months ago
JSON representation
Collection of small things gopher needs for everyday projects
- Host: GitHub
- URL: https://github.com/cthulhu/go-steun
- Owner: cthulhu
- License: mit
- Created: 2016-09-02T19:30:16.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2024-08-20T08:30:51.000Z (about 1 year ago)
- Last Synced: 2024-08-20T10:19:14.077Z (about 1 year ago)
- Topics: fixtures, golang, pointer, pointers, retry, structs, timeid, tools, uri
- Language: Go
- Homepage:
- Size: 127 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# go-steun
Handy misc tools for go development
[](https://github.com/cthulhu/go-steun/actions) [](https://goreportcard.com/badge/github.com/cthulhu/go-steun) [](https://raw.githubusercontent.com/cthulhu/go-steun/master/LICENSE)## Content
* Fixture - Easy text fixtures management
* Pointers - Some helpers to generate pointers from const values
* Raise - Wrapper that panics on errors
* Structs - Set/Get helpers to write/read random fields from structs by their string names
* TimeId - a set of helpers to work with Date/Time as a timeID in YYDDMM format
* URI - a set of helpers duplicating functionality of JS's encodeuricomponent/decodeuricomponent and others
* Retry - simple retry wrapper, supports Before and After retry## Installation
go get github.com/cthulhu/go-steun
OR alternatively you can query individual packages
go get github.com/cthulhu/go-steun/{package}
OR just import it in your source file and let go-dep solve it for you
## Contribution
Any possible contributions are welcome. See [Contributing](CONTRIBUTING.md) to get started.
## Report a Bug
For filing bugs, suggesting improvements, or requesting new features, please open an [issue](https://github.com/cthulhu/go-steun/issues).
## License
See [LICENSE](LICENSE) File