x

module
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: Apache-2.0

README

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

Directories

Path Synopsis
_example
Package extbase64 extend base64
Package extbase64 extend base64
Package extimg extend image
Package extimg extend image
extio
flow
Package flow 实现字节统计,读,写,读写统计,以字节为准.
Package flow 实现字节统计,读,写,读写统计,以字节为准.
Package extmath extend math
Package extmath extend math
Package extnet extend network
Package extnet extend network
connection/cbuffered
Package cbuffered 实现读缓冲的net.conn接口
Package cbuffered 实现读缓冲的net.conn接口
connection/ccrypt
Package ccrypt 实现net.conn的加密conn接口 aes cfb加密码的连接,通过提供的配置使用pbkdf2生成key, 依靠key和hash生成iv
Package ccrypt 实现net.conn的加密conn接口 aes cfb加密码的连接,通过提供的配置使用pbkdf2生成key, 依靠key和hash生成iv
connection/cencrypt
Package cencrypt 实现加密的net.conn接口
Package cencrypt 实现加密的net.conn接口
connection/cflow
Package cflow 实现字节统计,读,写,读写统计,以字节为准.
Package cflow 实现字节统计,读,写,读写统计,以字节为准.
connection/cgzip
Package cgzip 采用gzip压缩实现的net.conn接口
Package cgzip 采用gzip压缩实现的net.conn接口
connection/ciol
Package ciol 实现 net.conn 网络io限速器接口
Package ciol 实现 net.conn 网络io限速器接口
connection/csnappy
Package csnappy 采用snappy压缩实现的net.conn接口
Package csnappy 采用snappy压缩实现的net.conn接口
connection/czlib
Package czlib 采用zlib压缩实现的net.conn接口
Package czlib 采用zlib压缩实现的net.conn接口
Package extos base tool Package extos base tool
Package extos base tool Package extos base tool
Package extrand extend rand
Package extrand extend rand
Package gopool 提供一个协程池接口
Package gopool 提供一个协程池接口
internal
mock
Package mock simulate a net.Conn with io.ReadWriter
Package mock simulate a net.Conn with io.ReadWriter
lib
algo
Package algo implement common api
Package algo implement common api
bpool
Package bpool Provides bpool buffer pool
Package bpool Provides bpool buffer pool
encrypt
Package encrypt implement common encrypt and decrypt for stream
Package encrypt implement common encrypt and decrypt for stream
parallel
The parallel package provides a way of running functions concurrently while limiting the maximum number running at once.
The parallel package provides a way of running functions concurrently while limiting the maximum number running at once.
ternary
Package ternary implement like condition ? trueVal : falseVal
Package ternary implement like condition ? trueVal : falseVal

Jump to

Keyboard shortcuts

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