My development kits for Golang.
go get github.com/WindomZ/go-develop-kit...
- bytes
- Format formats bytes integer to human readable string
- Parse parses human readable bytes string to bytes integer
- One-time Password
- HMAC-Based One-time Password (HOTP) algorithm specified in RFC 4226
- Time-based One-time Password (TOTP) algorithm specified in RFC 6238
- ip
- Get the current IP address
- Get the end of current IP address
- float64
- Add, subtract, multiply, divide and round
- Calculation of big number, eliminate the error precision
- mutex
- Still in development :)
- Get the user's
home
directory - File operation function collection
- queue
- Push push the queue.
- Pull pull the queue, FIFO.
- Exchange safely change queue capacity.
- currency
- Unit currency, the multiple formats mapping
- float price
- Unit price, floating point calculation
- int price
- Unit price, integral calculation
- uuid
- Common UUID safe generation method
- validator
- Commonly used UUID validator
- tool
- Commonly used UUID conversion tool
Welcome to pull requests, report bugs, suggest ideas and discuss go-develop-kit, i would love to hear what you think about go-develop-kit on issues page.
If you like it then you can put a ⭐ on it.