Table of Contents
Use proxy, or use Gopm.
http_proxy=127.0.0.1:8087 go get **
for socks5 proxy
sudo dnf install privoxy
sudo echo forward-socks5 / 127.0.0.1:1080 . >> /etc/privoxy/config
sudo service privoxy restart
http_proxy=127.0.0.1:8118 go get **
Godoc and vet moved to the go.tools subrepository since go1.2, so
# go get code.google.com/p/go.tools/cmd/...
More official sub-repositories
install them
https_proxy=https://127.0.0.1:8118 go get -v golang.org/x/tools/cmd/{godoc,goimports,gorename,vet,gomvpkg,cover}
other great tools
go get -v github.com/golang/lint/golint
go get -v github.com/sqs/goreturns
go get -u github.com/astaxie/beego
Or use gofresh (Keep your Go package dependencies fresh.)
packages
tutorials
packages
writing-high-performance-go The compiler implements a specific optimisation for this case
var m map[string]string
v, ok := m[string(bytes)]
This will avoid the conversion of the byte slice to a string for the map lookup. This is very specific, it won't work if you do something like
key := string(bytes)
val, ok := m[key]
gcvis - Visualise Go program GC trace data in real time http://dave.cheney.net/2014/07/11/visualising-the-go-garbage-collector
go-torch - Stochastic flame graph profiler for Go programs
go-filemutex - Like sync.Mutex, but works across processes
Packages:
Applications:
Persistent
log
Others
Date
Debug
Release
Needing code generation
Using reflection
xxx
doc
packages
KV
In-memory
doc
rich data structure
graph
3D
See more on awesome-go, golang opensource projects
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。