博主收藏的go语言资料,分享一波~~~
官网
- https://golang.org/ (被墙)
镜像:
下载镜像:
Go Playground:
提示:可以参考 https://github.com/golang/playground 搭建自己的Go Playground。
教程
- astaxie/build-web-application-with-golang: A golang ebook intro how to build a web with golang
https://github.com/astaxie/build-web-application-with-golang - chai2010/advanced-go-programming-book: 《Go语言高级编程》开源图书,涵盖CGO、Go汇编语言、RPC实现、Protobuf插件实现、Web框架实现、分布式系统等高阶主题(完稿)
https://github.com/chai2010/advanced-go-programming-book - 《快学 Go 语言》最新内容大全
https://mp.weixin.qq.com/s/OVEPFX6YRBgdq2M_WVns7Q - unknwon/the-way-to-go_ZH_CN: 《The Way to Go》中文译本,中文正式名《Go 入门指南》
https://github.com/unknwon/the-way-to-go_ZH_CN - Golang - 100天从新手到大师
https://github.com/rubyhan1314/Golang-100-Days
标准库
-
Go 标准库中文文档
http://cngolib.com/ -
The-Golang-Standard-Library-by-Example
https://github.com/polaris1119/The-Golang-Standard-Library-by-Example
提示:使用
godoc -http :8000
会在本地开启Go Documentation Server
,浏览器输入:http://localhost:8000/ 即可浏览。
相关教程:
-
Go内置常用包 - 飞鸿影
https://www.cnblogs.com/52fhy/p/11295090.html -
go第三方常用包 - 飞鸿影
https://www.cnblogs.com/52fhy/p/12584574.html
社区
- Go语言中文网 - Golang中文社区
https://studygolang.com/
IDE
-
GoLand: A Clever IDE to Go by JetBrains
https://www.jetbrains.com/go/ -
LiteIDE X
http://liteide.org/cn/
镜像
使用示例:
export GOPROXY=https://mirrors.aliyun.com/goproxy/
go get -v github.com/jpillora/go-tcp-proxy/cmd/tcp-proxy
框架
- beego: 简约 & 强大并存的 Go 应用框架
https://beego.me/ - gin-gonic/gin
https://github.com/gin-gonic/gin - micro/go-micro: The Go Micro services development framework
https://github.com/micro/go-micro - gohugoio/hugo: The world’s fastest framework for building websites.
https://github.com/gohugoio/hugo
GRPC
-
grpc/grpc: The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C#)
https://github.com/grpc/grpc -
gRPC入坑记 - 飞鸿影
https://www.cnblogs.com/52fhy/p/11110704.html -
GRPC调试工具 - 飞鸿影
https://www.cnblogs.com/52fhy/p/12376940.html -
processout/grpc-go-pool: grpc connection pool
https://github.com/processout/grpc-go-pool -
grpc-ecosystem/grpc-gateway: gRPC to JSON proxy generator following the gRPC HTTP spec
https://github.com/grpc-ecosystem/grpc-gateway -
vaporz/turbo: A lightweight microservice tool, turn your grpc|thrift APIs into HTTP APIs!
https://github.com/vaporz/turbo
服务发现
- 用consul做grpc的服务发现 - 个人文章 - SegmentFault 思否
https://segmentfault.com/a/1190000018424798 - [转]gRPC服务发现&负载均衡 | 鸟窝
https://colobu.com/2017/03/25/grpc-naming-and-load-balance/ - maemual/raft-zh_cn: Raft一致性算法论文的中文翻译
https://github.com/maemual/raft-zh_cn
工具
- 使用gofmt格式化代码 - 掘金
https://juejin.im/post/5b4d824bf265da0f5e32db08 - golangci/golangci-lint: Linters Runner for Go. 5x faster than gometalinter
https://github.com/golangci/golangci-lint - Golang程序调试工具介绍(gdb vs dlv) | lday的博客
http://lday.me/2017/02/27/0005_gdb-vs-dlv/ - go-delve/delve: Delve is a debugger for the Go programming language.
https://github.com/go-delve/delve - jpillora/go-tcp-proxy: A small TCP proxy written in Go
https://github.com/jpillora/go-tcp-proxy - siddontang/go-mysql-elasticsearch: Sync MySQL data into elasticsearch
https://github.com/siddontang/go-mysql-elasticsearch - hanchuanchuan/goInception: 一个集审核、执行、备份及生成回滚语句于一身的MySQL运维工具
https://github.com/hanchuanchuan/goInception - spf13/cobra: A Commander for modern Go CLI interactions
https://github.com/spf13/cobra - valyala/fasthttp: Fast HTTP package for Go. Tuned for high performance. Zero memory allocations in hot paths. Up to 10x faster than net/http
https://github.com/valyala/fasthttp
区块链
- ethereum/go-ethereum: Official Go implementation of the Ethereum protocol
https://github.com/ethereum/go-ethereum
内网穿透
fatedier/frp
A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
https://github.com/fatedier/frp
ehang-io/nps
一款轻量级、高性能、功能强大的内网穿透代理服务器。支持tcp、udp、socks5、http等几乎所有流量转发,可用来访问内网网站、本地支付接口调试、ssh访问、远程桌面,内网dns解析、内网socks5代理等等……,并带有功能强大的web管理端
https://github.com/ehang-io/nps
snail007/goproxy
Proxy是高性能全功能的http代理、https代理、socks5代理、内网穿透、内网穿透p2p、内网穿透代理、内网穿透反向代理、内网穿透服务器、Websocket代理、TCP代理、UDP代理、DNS代理、DNS加密代理,代理API认证,全能跨平台代理服务器。
https://github.com/snail007/goproxy
Database
CodisLabs/codis
Proxy based Redis cluster solution supporting pipeline and scaling dynamically
https://github.com/CodisLabs/codis
UI
fyne-io/fyne
Cross platform GUI in Go based on Material Design
https://github.com/fyne-io/fyne
其它
- 减小 golang 编译出程序的体积
http://blog.fatedier.com/2017/02/04/reduce-golang-program-size/ - avelino/awesome-go: A curated list of awesome Go frameworks, libraries and software
https://github.com/avelino/awesome-go#gui - yudai/gotty: Share your terminal as a web application
https://github.com/yudai/gotty - kubernetes/minikube: Run Kubernetes locally
https://github.com/kubernetes/minikube - docker-slim/docker-slim: DockerSlim (docker-slim): Don't change anything in your Docker container image and minify it by up to 30x (and for compiled languages even more) making it secure too! (free and open source)
https://github.com/docker-slim/docker-slim - gogs/gogs: Gogs 是一款极易搭建的自助 Git 服务
https://github.com/gogs/gogs - go-gitea/gitea: Git with a cup of tea, painless self-hosted git service
https://github.com/go-gitea/gitea