module
Version:
v0.0.7
Opens a new window with list of versions in this module.
Published: Nov 3, 2022
License: MIT
Opens a new window with license information.
README
¶
Kit4go
The common tools for go.
Support list
- bit hacks for bit.
- datetime parse, format, others.
- file base file ops.
- ip parse, match, convert, info.
- json support multi json packages.
- number round, bytes convert.
- otp
TOTP
, HOTP
.
- random rand, random.
- str common string utils.
- uuid requestID, go.uuid, ksuid, xid.
- xlo some utils ref lo, more pls use lo directly.
Install
go get -u github.com/v8fg/kit4go
Notes
If test failed, maybe effected by the inline, you can try: go test -v -gcflags=all=-l xxx_test.go
.
CMD
- release check:
make
- coverage:
make cover
- format check:
make fmt-check
- format fixed:
make fmt
- misspell check:
make misspell-check
- golang lint:
make golangci
- escape analysis:
make escape
or ESCAPE_PATH=ip make escape
Directories
¶
Package bit contains some bit ops, some bithacks ref: https:graphics.stanford.edu/~seander/bithacks.html.
|
Package bit contains some bit ops, some bithacks ref: https:graphics.stanford.edu/~seander/bithacks.html. |
Package datetime constants, layout format with ISO8601:2004, more info ref: src/time/format.go.
|
Package datetime constants, layout format with ISO8601:2004, more info ref: src/time/format.go. |
|
|
|
|
|
|
|
|
|
|
Package random, the file refs the crypto/rand, it implements a cryptographically secure random number generator.
|
Package random, the file refs the crypto/rand, it implements a cryptographically secure random number generator. |
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.