weblazy / goutil

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

goutil Build Status report card GoDoc

Common and useful toolkit for Go project development.

Inclusion criteria

  • Only rely on the Go standard package
  • Functions or lightweight packages
  • Non-business related general tools

Contents

  • Tools Some useful small functions.
  • BitSet A bit set
  • Calendar Chinese Lunar Calendar, Solar Calendar and cron time rules
  • Cmder Cmder exec cmd and catch the result
  • CoarseTime Current time truncated to the nearest 100ms
  • Errors Improved errors package.
  • Graceful Shutdown or reboot current process gracefully
  • HTTPBody HTTP body builder
  • Password Check password
  • GoPool Goroutines' pool
  • ResPool Resources' pool
  • Workshop Non-blocking asynchronous multiplex resource pool
  • Status A handling status with code, msg, cause and stack
  • Tpack Go underlying type data
  • Versioning Version comparison tool that conforms to semantic version 2.0.0

About


Languages

Language:Go 100.0%