Directories
¶
Path | Synopsis |
---|---|
src
|
|
algorithm/fibonacci
command
|
|
algorithm/gcd
command
|
|
alice
command
|
|
ast
command
|
|
bits
command
|
|
bitset
command
|
|
bolt
command
|
|
build
command
|
|
bytes
command
|
|
cache
command
|
|
call-by-funcname
command
|
|
catena
command
|
|
cgo/callback
command
|
|
cgo/cfunc
command
|
|
cgo/cppstaticlib
command
go run main.go
|
go run main.go |
cgo/simple
command
|
|
cipher/crypto
command
* Generates a private/public key pair in PEM format (not Certificate) * * The generated private key can be parsed with openssl as follows: * > openssl rsa -in key.pem -text * * The generated public key can be parsed as follows: * > openssl rsa -pubin -in pub.pem -text
|
* Generates a private/public key pair in PEM format (not Certificate) * * The generated private key can be parsed with openssl as follows: * > openssl rsa -in key.pem -text * * The generated public key can be parsed as follows: * > openssl rsa -pubin -in pub.pem -text |
clang/go-clang-compdb
command
go-clang-compdb dumps the content of a clang compilation database
|
go-clang-compdb dumps the content of a clang compilation database |
clang/go-clang-dump
command
go-clang-dump shows how to dump the AST of a C/C++ file via the Cursor visitor API.
|
go-clang-dump shows how to dump the AST of a C/C++ file via the Cursor visitor API. |
closer/example
command
|
|
closer/example-error
command
|
|
closer/example-fatalln
command
|
|
closer/example-panic
command
|
|
closure
command
|
|
cobra/hello
command
|
|
config
command
main package demonstrates the usage of the multiconfig package
|
main package demonstrates the usage of the multiconfig package |
context
command
|
|
context/struct
command
|
|
copy
command
|
|
crypto/rsa
command
|
|
crypto/x509
command
|
|
csproj
command
|
|
ctxhttp
command
|
|
delegate
command
|
|
dns/mx
command
|
|
elastic
command
|
|
email
command
|
|
empty-struct
command
|
|
eos-go
command
|
|
eos-go/keygen
command
|
|
eos-go/pubgen
command
|
|
epoll
command
|
|
etcd
command
|
|
exec
command
|
|
exec/capture
command
|
|
exec/simple
command
|
|
exec/wait
command
|
|
fetchbot/full
command
|
|
fetchbot/short
command
|
|
fetchbot/shortauto
command
|
|
ffjson
command
|
|
filesystem/ls
command
|
|
fsm
command
|
|
fsnotify
command
|
|
gabs
command
|
|
gateway
command
|
|
gcache
command
|
|
generator
command
|
|
gin
command
|
|
glob
command
|
|
glog
command
|
|
go-api
command
|
|
go-cache
command
|
|
go-connections
command
|
|
go-daemon
command
|
|
go-flags
command
|
|
go-flags/subcommand
command
|
|
go-imap/client
command
|
|
go-json-rest
command
|
|
go-lua
command
|
|
go-micro/go-config
command
|
|
go-oryx-lib/http
command
|
|
go-ping
command
|
|
go-selenium
command
|
|
go-simplejson
command
|
|
go-spin
command
|
|
go-swagger/cmd/todo-list-server
command
|
|
go-swagger/restapi
Package restapi To Do List To do list desc Schemes: http https Host: localhost BasePath: / Version: 0.1.0 Consumes: - application/json Produces: - application/json swagger:meta
|
Package restapi To Do List To do list desc Schemes: http https Host: localhost BasePath: / Version: 0.1.0 Consumes: - application/json Produces: - application/json swagger:meta |
goavro/file
command
|
|
goavro/record
command
|
|
gobson
command
|
|
gobyexample
command
|
|
goc2p/basic/cgo
command
|
|
goc2p/basic/pkginit
command
|
|
goc2p/chan1/oneway
command
|
|
goc2p/helper/ds
command
Show the specified directory structure
|
Show the specified directory structure |
goc2p/helper/pds
command
Show the dependency structure of specified package
|
Show the dependency structure of specified package |
goc2p/multiproc/apipe
command
|
|
goc2p/multiproc/npipe
command
|
|
goc2p/multiproc/signal
command
|
|
goc2p/multiproc/socket
command
|
|
goc2p/sync1/pool
command
|
|
goc2p/webcrawler/demo
command
|
|
gofight/hello2
command
|
|
gofight/helloworld
command
|
|
gohttp/app/example
command
|
|
gohttp/demo
command
|
|
gohttp/logger
command
|
|
gohttp/mount
command
|
|
gohttp/pprof
command
|
|
gohttp/serve
command
|
|
gohttp/statsd
command
|
|
goji/json
command
|
|
golang-book/chapter10
command
|
|
golang-book/chapter11
command
|
|
golang-book/chapter13
command
|
|
golang-book/chapter2
command
|
|
golang-book/chapter3
command
|
|
golang-book/chapter4
command
|
|
golang-book/chapter5
command
|
|
golang-book/chapter6
command
|
|
golang-book/chapter7
command
|
|
golang-book/chapter8
command
|
|
golang-book/chapter9
command
|
|
golang-lru
command
|
|
golang-lru-timedcache
command
|
|
golib/agg
command
|
|
gopl/ch01/dup1
command
Dup1 prints the text of each line that appears more than once in the standard input, preceded by its count.
|
Dup1 prints the text of each line that appears more than once in the standard input, preceded by its count. |
gopl/ch01/dup2
command
Dup2 prints the count and text of lines that appear more than once in the input.
|
Dup2 prints the count and text of lines that appear more than once in the input. |
gopl/ch01/dup2-filename
command
|
|
gopl/ch01/dup3
command
Dup3 prints the count and text of lines that appear more than once in the named input files.
|
Dup3 prints the count and text of lines that appear more than once in the named input files. |
gopl/ch01/echo-time
command
|
|
gopl/ch01/echo1
command
Echo1 prints its command-line arguments.
|
Echo1 prints its command-line arguments. |
gopl/ch01/echo2
command
Echo2 prints its command-line arguments.
|
Echo2 prints its command-line arguments. |
gopl/ch01/echo3
command
Echo3 prints its command-line arguments.
|
Echo3 prints its command-line arguments. |
gopl/ch01/fetch
command
Fetch prints the content found at each specified URL.
|
Fetch prints the content found at each specified URL. |
gopl/ch01/fetch-copy
command
Fetch prints the content found at a URL.
|
Fetch prints the content found at a URL. |
gopl/ch01/fetch-prefix
command
|
|
gopl/ch01/fetch-status
command
|
|
gopl/ch01/fetchall
command
Fetchall fetches URLs in parallel and reports their times and sizes.
|
Fetchall fetches URLs in parallel and reports their times and sizes. |
gopl/ch01/fetchall-body
command
Fetchall fetches URLs in parallel and reports their times and sizes.
|
Fetchall fetches URLs in parallel and reports their times and sizes. |
gopl/ch01/helloworld
command
|
|
gopl/ch01/lissajous
command
Lissajous generates GIF animations of random Lissajous figures.
|
Lissajous generates GIF animations of random Lissajous figures. |
gopl/ch01/lissajous-query
command
|
|
gopl/ch01/server1
command
Server1 is a minimal "echo" server.
|
Server1 is a minimal "echo" server. |
gopl/ch01/server2
command
Server2 is a minimal "echo" and counter server.
|
Server2 is a minimal "echo" and counter server. |
gopl/ch01/server3
command
Server3 is an "echo" server that displays request parameters.
|
Server3 is an "echo" server that displays request parameters. |
gopl/ch02/boiling
command
Boiling prints the boiling point of water.
|
Boiling prints the boiling point of water. |
gopl/ch02/cf
command
Cf converts its numeric argument to Celsius and Fahrenheit.
|
Cf converts its numeric argument to Celsius and Fahrenheit. |
gopl/ch02/echo4
command
Echo4 prints its command-line arguments.
|
Echo4 prints its command-line arguments. |
gopl/ch02/ftoc
command
Ftoc prints two Fahrenheit-to-Celsius conversions.
|
Ftoc prints two Fahrenheit-to-Celsius conversions. |
gopl/ch02/kelvin-tempconv
Package tempconv performs Celsius and Fahrenheit conversions.
|
Package tempconv performs Celsius and Fahrenheit conversions. |
gopl/ch02/namespace
command
|
|
gopl/ch02/popcount
(Package doc comment intentionally malformed to demonstrate golint.) !+
|
(Package doc comment intentionally malformed to demonstrate golint.) !+ |
gopl/ch02/tempconv
Package tempconv performs Celsius and Fahrenheit conversions.
|
Package tempconv performs Celsius and Fahrenheit conversions. |
gopl/ch02/tempconv0
Package tempconv performs Celsius and Fahrenheit temperature computations.
|
Package tempconv performs Celsius and Fahrenheit temperature computations. |
gopl/ch03/ex3.1
command
|
|
gopl/ch03/ex3.2
command
|
|
gopl/ch03/ex3.3
command
|
|
gopl/ch03/ex3.4
command
|
|
gopl/ch03/surface
command
Surface computes an SVG rendering of a 3-D surface function.
|
Surface computes an SVG rendering of a 3-D surface function. |
gorilla
command
|
|
gorm
command
|
|
goroutine
command
|
|
gortmp
command
|
|
groupcache/consistenthash
command
|
|
groupcache/groupcache
command
|
|
groupcache/lru
command
|
|
groupcache/singlefight
command
|
|
hash
command
|
|
hex
command
|
|
http
command
|
|
http-api/todo
command
|
|
http/file
command
|
|
http/fileserv
command
|
|
http/fileupload
command
|
|
http/handlefunc
command
|
|
http/handler
command
|
|
http/handler/example
command
|
|
http/http-context
command
|
|
http/http-handler
handlers.go
|
handlers.go |
http/httptest/response-recorder
command
|
|
http/httptest/server
command
|
|
http/httputil/dump-request
command
|
|
http/httputil/dump-request-out
command
|
|
http/httputil/dump-response
command
|
|
http/httputil/reverse-proxy
command
|
|
http/middleware
command
|
|
http/middleware/append-data
command
|
|
http/middleware/modify-mid
command
|
|
http/middleware/simple
command
|
|
http/middleware/simple1
command
|
|
http/mux
command
|
|
http/post
command
|
|
http/simple
command
|
|
http/strip-prefix
command
|
|
http/transport
command
|
|
httpcmd
command
|
|
httptest
command
|
|
io
command
|
|
io/reader_writer
command
io.Reader 接口示例
|
io.Reader 接口示例 |
iter
command
|
|
jose/claims
command
|
|
jose/gentoken
command
|
|
jose/parsetoken
command
|
|
jose/validtoken
command
|
|
jsonrpc
command
|
|
jwt/go-jwt-middleware
command
|
|
jwt/jwtauth
command
|
|
jwt/web
command
|
|
kcp/client
command
|
|
kcp/server
command
|
|
lever
command
|
|
libkv
command
|
|
lion
command
|
|
lldb
command
|
|
log
command
|
|
logrus
command
|
|
md5
command
|
|
memberlist
command
|
|
mgo
command
|
|
middleware
command
|
|
middleware/complete
command
|
|
middleware/handlers
command
|
|
middleware/httpauth
command
|
|
middleware/strip-prefix
command
|
|
middleware/timeout-handler
command
|
|
misc/array
command
|
|
misc/bitop
command
|
|
misc/bool
command
|
|
misc/break
command
|
|
misc/call_so
command
|
|
misc/cgo
command
|
|
misc/cgo/call_so
command
|
|
misc/cgo/src
command
|
|
misc/channel
command
|
|
misc/channel/close-chan
command
|
|
misc/channel/quiz
command
|
|
misc/closure
command
|
|
misc/complex_value
command
|
|
misc/const
command
|
|
misc/error
command
http://www.infoq.com/cn/articles/go-interface-talk
|
http://www.infoq.com/cn/articles/go-interface-talk |
misc/exception
command
|
|
misc/flag
command
These examples demonstrate more intricate uses of the flag package.
|
These examples demonstrate more intricate uses of the flag package. |
misc/flag/simple
command
|
|
misc/flag/visit
command
|
|
misc/float_value
command
|
|
misc/for
command
|
|
misc/func
command
|
|
misc/glog
command
|
|
misc/goroutine
command
|
|
misc/goto
command
|
|
misc/helloworld
command
|
|
misc/http
command
|
|
misc/httptest
command
|
|
misc/if
command
|
|
misc/image/draw
command
|
|
misc/image/simple
command
|
|
misc/import/dot
command
|
|
misc/import/underscore
command
|
|
misc/init
command
|
|
misc/int
command
|
|
misc/int_value
command
|
|
misc/interface
command
|
|
misc/json
command
|
|
misc/json/marshal
command
|
|
misc/json/simple
command
|
|
misc/json/unmarshal
command
|
|
misc/learngoinyminutes
command
A package clause starts every source file.
|
A package clause starts every source file. |
misc/log
command
|
|
misc/log/log-format
command
|
|
misc/log/simple
command
|
|
misc/log/syslog
command
|
|
misc/map
command
|
|
misc/math
command
|
|
misc/memory
command
|
|
misc/multi_args
command
|
|
misc/mysql
command
数据库连接池测试 ab -c 100 -n 1000 'http://localhost:9090/pool' show processlist http://www.01happy.com/golang-mysql-demo/
|
数据库连接池测试 ab -c 100 -n 1000 'http://localhost:9090/pool' show processlist http://www.01happy.com/golang-mysql-demo/ |
misc/oo
command
|
|
misc/operator
command
|
|
misc/panic
command
|
|
misc/pid
command
|
|
misc/pointer
command
|
|
misc/pool
command
|
|
misc/range
command
|
|
misc/recursive
command
|
|
misc/reflect/call-method
command
|
|
misc/reflect/callfunc
command
|
|
misc/reflect/chan
command
|
|
misc/reflect/convert
command
|
|
misc/reflect/func-reflect
command
|
|
misc/reflect/hello
command
|
|
misc/reflect/set
command
|
|
misc/reflect/set-reflect
command
|
|
misc/reflect/set-value
command
|
|
misc/reflect/struct-reflect
command
简单使用反射提供接口对象信息 通过反射TypeOf/ValueOf/Field/NumMethod等方法获取接口对象的字段,类型和方法等信息
|
简单使用反射提供接口对象信息 通过反射TypeOf/ValueOf/Field/NumMethod等方法获取接口对象的字段,类型和方法等信息 |
misc/reflect/struct-tag
command
|
|
misc/reflect/template/extends
command
|
|
misc/reflect/template/parsefiles
command
|
|
misc/reflect/template/parseglob
command
|
|
misc/reflect/type-value-of
command
|
|
misc/reflect/unknown-type
command
|
|
misc/reflect/value
command
|
|
misc/rune
command
|
|
misc/runtime
command
|
|
misc/select
command
|
|
misc/signal
command
|
|
misc/slice/slice_secure
command
|
|
misc/sort
command
|
|
misc/strconv
command
|
|
misc/string
command
|
|
misc/strings
command
|
|
misc/struct
command
|
|
misc/struct_method
command
|
|
misc/struct_tag
command
|
|
misc/switch
command
|
|
misc/sync/map
command
|
|
misc/tabwriter
command
|
|
misc/testing
command
go run -race testtrace.go
|
go run -race testtrace.go |
misc/type
command
|
|
misc/typeof
command
|
|
misc/value
command
|
|
misc/varargs
command
|
|
misc/variable
command
|
|
misc/xml
command
|
|
mongodb
command
|
|
msgp/gen
command
|
|
msgp/stack
command
|
|
msgpack
command
|
|
network/ip
command
|
|
network/tcp
command
|
|
network/tcp/conn-establish
command
|
|
network/tcp/tcpsock
command
|
|
network/tcpperf
command
|
|
network/udp
command
|
|
nsq/cert
command
|
|
nsq/complex/consumer
command
|
|
nsq/complex/producer
command
|
|
nsq/simple/consumer
command
|
|
nsq/simple/producer
command
|
|
okq
command
|
|
oo
command
|
|
pat
command
|
|
path
command
|
|
pipeline
command
|
|
plugin/greeter
command
|
|
plugin/greeter/en
command
|
|
plugin/greeter/zh
command
|
|
pq/bookstore
command
|
|
pq/bookstore-web
command
|
|
priority-queue
command
|
|
protobuf/add-people
command
|
|
protobuf/addressbook
Package addressbook is a generated protocol buffer package.
|
Package addressbook is a generated protocol buffer package. |
protobuf/list-people
command
|
|
proxy
command
|
|
proxy/proxy-get
command
|
|
proxy/simple-proxy
command
|
|
proxy/single-host
command
|
|
pubsubch
command
|
|
radix
command
|
|
radix/recordstore
command
|
|
rand
command
|
|
recover
command
|
|
redcon
command
|
|
redigo
command
|
|
redis-http
command
|
|
redisgo
command
|
|
rescue
command
|
|
resp
command
|
|
ring
command
|
|
rmq
command
|
|
rpc
command
|
|
scraper
command
|
|
script
command
usr/bin/env go run $0 "$@"; exit
|
usr/bin/env go run $0 "$@"; exit |
select
command
|
|
service
command
|
|
signal
command
|
|
slack
command
|
|
slice
command
|
|
smux
command
|
|
sql/mysql
command
|
|
sqlx
command
|
|
subcommands
command
|
|
surf
command
|
|
swig/simple
command
|
|
tablewriter
command
|
|
testify/mock/example
command
|
|
testify/mock/pure
command
|
|
testing/http
command
|
|
tgbotapi
command
|
|
time
command
|
|
time/format
command
|
|
time/timeout
command
|
|
toml
command
|
|
ttlcache
command
|
|
ttlru
command
|
|
type-width
command
|
|
upnp
command
|
|
url
command
|
|
uuid
command
|
|
viper
command
|
|
webgo
command
|
|
webgo/simple
command
|
|
websocket/cli
command
|
|
websocket/simple
command
|
|
websocket/websocket-chat
command
|
|
writev/tcpclient
command
the prototype for go-writev, https://github.com/golang/go/issues/13451
|
the prototype for go-writev, https://github.com/golang/go/issues/13451 |
writev/tcpserver
command
the prototype for go-writev, https://github.com/golang/go/issues/13451
|
the prototype for go-writev, https://github.com/golang/go/issues/13451 |
xlsx/read
command
|
|
xorm/advanced
command
|
|
xorm/bigint
command
|
|
xorm/simple
command
|
|
zero-copy
command
|
Click to show internal directories.
Click to hide internal directories.