Go 常用库 #
conf #
spf13/viper
#
Go configuration with fangs
log #
sirupsen/logrus
#
Structured, pluggable logging for Go.
uber-go/zap
#
Blazing fast, structured, leveled logging in Go.
rs/zerolog
#
Zero Allocation JSON Logger
apex/log
#
Structured logging package for Go.
golang/glog
#
Leveled execution logs for Go
kubernetes/klog
#
net #
imroc/req
#
Go 语言人性化 HTTP 请求库
valyala/fasthttp
#
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
#
A Commander for modern Go CLI interactions
alecthomas/kong
#
Kong is a command-line parser for Go
alecthomas/kingpin
#
CONTRIBUTIONS ONLY: A Go (golang) command line and flag parser
注:作者已经放弃 kingpin
,改用 kong
web #
gorilla/mux
#
A powerful HTTP router and URL matcher for building Go web servers
githubnemo/CompileDaemon
#
Watches your .go files in a directory and invokes go build
if a file changed.
Usage:
./CompileDaemon -directory=yourproject/
其他 #
fsnotify/fsnotify
#
Cross-platform file system notifications for Go.
gomodule/redigo
#
Go client for Redis
go-redis/redis
#
Type-safe Redis client for Golang
https://godoc.org/github.com/go-redis/redis
spf13/afero
#
A FileSystem Abstraction System for Go
叶王 © 2013-2024 版权所有。如果本文档对你有所帮助,可以请作者喝饮料。