A Go (Golang) toolbox.
This library is not systematic and just contains some scattered tools.
The library is under development. More codes and documents will be added in the future.
At the current stage, there is no guarantee that this library will keep compatible with previous versions.
To avoid incompatibility issues,
please specify the version (e.g., v0.3.0
) or
the revision number / commit hash (e.g., 309594fd
) explicitly
and do not use the latest
version.
For information about how to specify the version, see the Go documentation.
The default branch has been renamed from master
to main
since April 4, 2022.
Please update your local clone if it still refers to origin/master
.
To do so, from your local clone of the repository, run the following commands:
$ git branch -m OLD-BRANCH-NAME NEW-BRANCH-NAME
$ git fetch origin
$ git branch -u origin/main NEW-BRANCH-NAME
$ git remote set-head origin -a
$ git remote prune origin
where OLD-BRANCH-NAME
is the current name of your local branch
referring to origin/master
, usually named master
;
NEW-BRANCH-NAME
is the new name of that branch, usually named main
.
For more information about renaming a branch, see the GitHub documentation.
The GNU Affero General Public License 3.0 (AGPL-3.0) - Yuan Gao. Please have a look at the LICENSE.
You can contact me by email: <donyoridoyodoyo@outlook.com>.