Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

thinkgos/x

Repository files navigation

x

go stand library extend api

GoDoc Go.Dev reference Build Status codecov Action Status Go Report Card License Tag

Feature

Reference package

  • meter storage metering,like B,KB,MB,GB,TB,PB,EB
  • container collection container
  • wheel time wheel library, which similar linux time wheel
  • timing time scheduler

Third party base package

  • go-internal Selected Go-internal packages factored out from the standard library

  • go-humanize Go Humans! (formatters for units to human friendly sizes)

  • atomic Wrapper types for sync/atomic which enforce atomic access

  • multierr Combine one or more Go errors together

  • cast safe and easy casting from one type to another in Go

  • archiver Easily create & extract archives, and compress & decompress files of various formats

  • inflection Pluralizes and singularizes English nouns

  • compress Optimized compression packages

  • strcase A golang package for converting to snake_case or CamelCase

  • color Color package for Go

  • runewidth Provides functions to get fixed width of the character or string.

  • ntp a simple ntp client package for go

Reference web

  • render render extract from gin,but with optional build tags,useful for net/http or embedded systems,reduce program size
  • binding binding extract from gin,but with optional build tags,useful for net/http or embedded linux systems,reduce program size
  • schema Package gorilla/schema fills a struct with form values.
  • gin-middlewares middleware for Gin
  • http-middlewares middleware for net/http
  • user_agent HTTP User Agent parser for the Go programming language.
  • resty Simple HTTP and REST client library for Go
  • gout gout to become the Swiss Army Knife of the http client

other

  • ants ants is a high-performance and low-cost goroutine pool in Go
  • treeprint Package treeprint provides a simple ASCII tree composing tool.
  • tablewriter Generate ASCII table on the fly
  • promptui Interactive prompt for command-line applications
  • go-prompt Building powerful interactive prompts in Go, inspired by python-prompt-toolkit.
  • cidranger Fast IP to CIDR lookup in Golang
  • go-version A Go (golang) library for parsing and verifying versions and version constraints.

id

  • nuid NATS Unique Identifiers
  • xid xid is a globally unique id generator thought for the web
  • snowflake A simple to use Go (golang) package to generate or parse Twitter snowflake IDs

image

  • barcode This is a package for GO which can be used to create different types of barcodes.
  • qrcode QR Code encoder (Go)
  • gozxing ZXing is an open-source, multi-format 1D/2D barcode image processing library for Java. This project is a port of ZXing core library to pure Go.

Donation

if package help you a lot,you can support us by:

Alipay

alipay

WeChat Pay

wxpay