English | 中文
This repository collects some commonly used Go basic libraries and wraps them into packages, which are centralized in the gopkg
repository.
go get -u github.com/pokeyaro/gopkg/<sub-package>
Module | Description | Documentation | Date |
---|---|---|---|
logger | Logging package | logger Usage Guide | 08/07/23 |
suprelog | Logging package | suprelog Usage Guide | 23/08/21 |
gopkg
usesgo module
subpackage mode for dependency and version control. Here's an overview
Directory structure:
├── .gitignore.go
├── LICENSE
├── README.md
├── package_a
│ ├── go.mod
│ ├── go.sum
│ ├── README.md
│ └── entry_a.go
├── package_b
│ ├── go.mod
│ ├── go.sum
│ ├── README.md
│ └── entry_b.go
...
Subpackage names (example):
- The
module
name in the first line ofpackage_a/go.mod
is:github.com/xxx/gopkg/package_a
- The
module
name in the first line ofpackage_b/go.mod
is:github.com/xxx/gopkg/package_b
TBD...