module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Jun 4, 2020
License: MIT
Opens a new window with license information.
README
¶
goutils

Utility Code for Golang, for better error collection, slice manipulation and orms handling
Require Go 1.11 or newer
slice utility
Support int32, int64, uint32, uint64, string slices
-
Apply a function to a slice (like lambda function in other language)
-
Check if a slice contains element(s)
-
Index element(s) in a slice
-
Merge slices together (with unique merge option)
-
Stably sort or reversely sort slices
-
Convert a slice to a unique slice (e.g. elements are unique)
errors
- An error receiver, which receives errors and output them in traceback mode
orms
- Concurrent gorm execution (use go routine), with timeout option
License
This project is released under MIT license
Directories
¶
Click to show internal directories.
Click to hide internal directories.