Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coder2z/g-saber
Named from the Swiss Army Knife.This is a golang development kit.
https://github.com/coder2z/g-saber
golang tools
Last synced: 5 days ago
JSON representation
Named from the Swiss Army Knife.This is a golang development kit.
- Host: GitHub
- URL: https://github.com/coder2z/g-saber
- Owner: coder2z
- License: apache-2.0
- Created: 2021-03-05T15:26:57.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-15T12:31:56.000Z (over 2 years ago)
- Last Synced: 2023-07-27T18:35:57.571Z (over 1 year ago)
- Topics: golang, tools
- Language: Go
- Homepage:
- Size: 126 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# G-Saber
Named from the Swiss Army Knife.This is a golang development kit.
![](https://img.shields.io/badge/windowns10-Development-d0d1d4)
![](https://img.shields.io/badge/golang-1.16-blue)
[![](https://img.shields.io/badge/godoc-reference-3C57C4)](https://pkg.go.dev/github.com/coder2z/g-saber)
![](https://img.shields.io/badge/version-0.1.0-r)## :rocket:Installation
`
go get -u github.com/coder2z/g-saber
`## :bell:Features
Encapsulate many tool functions and methods, and continue to update. Most of the methods are open source and other open source projects.
```
xcfg = > config
xcolor = > color formatting
xconsole = > console output
xdefer = > stack execution method
xerrgroup = > group coroutine run
xfile = > file folder operating
xflag = > cobra secondary packaging
xgp = > coroutine pool
xjson = > json operating
xlog = > log
xnet = > network operating
xreminder = > task execution
xsignls = > signal management
xstring = > various string operations
xtime = > time operations
xtransform = > all kinds of data conversion
xvalidator = > data verification
```## :anchor:Usage
Direct correspondence method is OK!
```
xcast.ToTimeE()
......
```## :tada:Contribute code
Open source projects are inseparable from everyone’s support. If you have a good idea, encountered some bugs and fixed them, and corrected the errors in the document, please submit a Pull Request~
1. Fork this project to your own repo
2. Clone the project in the past, that is, the project in your warehouse, to your local
3. Modify the code
4. Push to your own library after commit
5. Initiate a PR (pull request) request and submit it to the `provide` branch
6. Waiting to merge## :closed_book:License
Distributed under MIT License, please see license file within the code for more details.