https://github.com/terrextech/go-commonutils
A set of convenient utilities.
https://github.com/terrextech/go-commonutils
go golang utility-library
Last synced: 9 months ago
JSON representation
A set of convenient utilities.
- Host: GitHub
- URL: https://github.com/terrextech/go-commonutils
- Owner: TerrexTech
- License: mit
- Created: 2018-08-14T14:05:28.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-10-14T16:13:43.000Z (over 7 years ago)
- Last Synced: 2024-06-20T06:09:19.903Z (about 2 years ago)
- Topics: go, golang, utility-library
- Language: Go
- Size: 17.6 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Common-Utils Go-Package
-----
This package provides some convenience utilities. New utilities will be added as required.
**[Go Docs][0]**.
### Current Utilities:
* **env**
* [ValidateEnv][8]
* **errors**
* [ErrorStackTrace][7]
* **float64**
* [AssertInt64][9]
* **int64**
* [AssertInt64][10]
* **slices**
* [AreElementsInSlice][1]
* [AreElementsInSliceStrict][2]
* [IndexInSlice][3]
* [IsElementInSlice][4]
* **strings**
* [ParseHosts][5]
* [StandardizeSpaces][6]
[0]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil
[1]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#AreElementsInSlice
[2]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#AreElementsInSliceStrict
[3]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#IndexInSlice
[4]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#IsElementInSlice
[5]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#ParseHosts
[6]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#StandardizeSpaces
[7]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#ErrorStackTrace
[8]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#ValidateEnv
[9]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#AssertFloat64
[10]: https://godoc.org/github.com/TerrexTech/go-commonutils/commonutil#AssertInt64