go

module
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2023 License: MIT

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
Delete all Tags

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

Path Synopsis
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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL