module
Version:
v0.11.1
Opens a new window with list of versions in this module.
Published: Mar 26, 2023
License: MIT
Opens a new window with license information.
README
¶
Introduction
Go library
gox
- general
ut
- unit testing
logx
- logging
errx
- wrap error
listx
- slice comparison
linklist
- linklist
cachex
- cache
api
- api response helper
httpx
- http client
randcode
- random code or id generator
Versioning:
- Semantic Versioning. For example, if the current version is
v1.0.0
:
- backward compatible bugfix, use
v1.0.1
- backward compatible change, use
v1.1.0
- not backward compatible, use
v2.0.0
Create Tag
- To create a new version:
git tag v0.0.0
- To push a new version:
git push origin v0.0.0
- To delete tag (in case if mistakenly created):
git tag -d v0.0.0
and git push --delete origin v0.0.0
To delete remote tags (before deleting local tags) simply do:
git tag -l | xargs -n 1 git push --delete origin
and then delete the local copies:
git tag | xargs git tag -d
Directories
¶
|
|
|
|
|
|
|
|
|
|
|
|
Package listx provides commonly used func for slice comparison
|
Package listx provides commonly used func for slice comparison |
Package logx is a simple logging lib that shows calling func line, info and provide context for tracing.
|
Package logx is a simple logging lib that shows calling func line, info and provide context for tracing. |
|
|
|
|
|
|
Package ut provides commonly used func for unit testing
|
Package ut provides commonly used func for unit testing |
Click to show internal directories.
Click to hide internal directories.