wddevkit

package module
v0.0.0-...-5a547ea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 12, 2018 License: MIT Imports: 18 Imported by: 0

README

go-develop-kit

Build Status License

My development kits for Golang.

中文文档

Install

go get github.com/WindomZ/go-develop-kit...

Usage

Bytes
  • bytes
    • Format formats bytes integer to human readable string
    • Parse parses human readable bytes string to bytes integer
Cache
GoogleAuthenticator
  • 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
  • ip
    • Get the current IP address
    • Get the end of current IP address
Math
  • float64
    • Add, subtract, multiply, divide and round
    • Calculation of big number, eliminate the error precision
Mutex
  • mutex
    • Still in development :)
Path

README

  • Get the user's home directory
  • File operation function collection
Queue
  • queue
    • Push push the queue.
    • Pull pull the queue, FIFO.
    • Exchange safely change queue capacity.
Security
  • salt
StringUtil
  • string
    • Split the string
  • regexp
    • Split the string with regular expression
Unit
  • currency
    • Unit currency, the multiple formats mapping
  • float price
    • Unit price, floating point calculation
  • int price
    • Unit price, integral calculation
UUID
  • uuid
    • Common UUID safe generation method
  • validator
    • Commonly used UUID validator
  • tool
    • Commonly used UUID conversion tool

Contributing

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.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
config
The one-time password algorithms supported by Google Authenticator This package supports the HMAC-Based One-time Password (HOTP) algorithm specified in RFC 4226 and the Time-based One-time Password (TOTP) algorithm specified in RFC 6238.
The one-time password algorithms supported by Google Authenticator This package supports the HMAC-Based One-time Password (HOTP) algorithm specified in RFC 4226 and the Time-based One-time Password (TOTP) algorithm specified in RFC 6238.
otp
security

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL