https://github.com/haormj/util
Golang util tools
https://github.com/haormj/util
golang util
Last synced: 3 months ago
JSON representation
Golang util tools
- Host: GitHub
- URL: https://github.com/haormj/util
- Owner: haormj
- License: apache-2.0
- Created: 2018-05-09T01:08:45.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2024-05-09T12:32:44.000Z (about 1 year ago)
- Last Synced: 2025-01-13T20:14:58.750Z (5 months ago)
- Topics: golang, util
- Language: Go
- Size: 104 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Util [](https://travis-ci.org/haormj/util) [](https://godoc.org/github.com/haormj/util) [](https://goreportcard.com/report/github.com/haormj/util)
Golang util tools
## Install
```shell
go get github.com/haormj/util
```## Usage
```go
package mainimport (
"log""github.com/haormj/util"
)func main() {
dst, err := util.ByteToUint32([]byte{1, 2, 3, 4})
if err != nil {
log.Fatalln(err)
}
log.Println(dst)
}
```