2.3 常用库

Go 常用库 #

conf #

spf13/viper Github stars Language Last Tag Last commit #

Go configuration with fangs


log #

sirupsen/logrus Github stars Language Last Tag Last commit #

Structured, pluggable logging for Go.

uber-go/zap Github stars Language Last Tag Last commit #

Blazing fast, structured, leveled logging in Go.

rs/zerolog Github stars Language Last Tag Last commit #

Zero Allocation JSON Logger

apex/log Github stars Language Last Tag Last commit #

Structured logging package for Go.

golang/glog Github stars Language Last Tag Last commit #

Leveled execution logs for Go

kubernetes/klog Github stars Language Last Tag Last commit #


net #

imroc/req Github stars Language Last Tag Last commit #

Go 语言人性化 HTTP 请求库

valyala/fasthttp Github stars Language Last Tag Last commit #

Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http


cmd #

spf13/cobra Github stars Language Last Tag Last commit #

A Commander for modern Go CLI interactions

alecthomas/kong Github stars Language Last Tag Last commit #

Kong is a command-line parser for Go

alecthomas/kingpin Github stars Language Last Tag Last commit #

CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser

注:作者已经放弃 kingpin,改用 kong


web #

gorilla/mux Github stars Language Last Tag Last commit #

A powerful HTTP router and URL matcher for building Go web servers

githubnemo/CompileDaemon Github stars Language Last Tag Last commit #

Watches your .go files in a directory and invokes go build if a file changed.

Usage:

./CompileDaemon -directory=yourproject/

其他 #

fsnotify/fsnotify Github stars Language Last Tag Last commit #

Cross-platform file system notifications for Go.

gomodule/redigo Github stars Language Last Tag Last commit #

Go client for Redis

go-redis/redis Github stars Language Last Tag Last commit #

Type-safe Redis client for Golang

https://godoc.org/github.com/go-redis/redis

spf13/afero Github stars Language Last Tag Last commit #

A FileSystem Abstraction System for Go


本文访问量

本站总访问量

本站总访客数