Directories ¶
Path | Synopsis |
---|---|
algorithm
|
|
cgo
|
|
cppstaticlib
go run main.go
|
go run main.go |
cipher
|
|
crypto
* 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
go-clang-compdb dumps the content of a clang compilation database
|
go-clang-compdb dumps the content of a clang compilation database |
go-clang-dump
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
|
|
cobra
|
|
main package demonstrates the usage of the multiconfig package
|
main package demonstrates the usage of the multiconfig package |
crypto
|
|
dns
|
|
fetchbot
|
|
filesystem
|
|
go-fundamental-programming
|
|
go-imap
|
|
go-micro
|
|
go-oryx-lib
|
|
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
|
|
goc2p
|
|
helper/ds
Show the specified directory structure
|
Show the specified directory structure |
helper/pds
Show the dependency structure of specified package
|
Show the dependency structure of specified package |
gofight
|
|
gohttp
|
|
goji
|
|
golang-book
|
|
golib
|
|
gopl
|
|
ch01/dup1
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. |
ch01/dup2
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. |
ch01/dup3
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. |
ch01/echo1
Echo1 prints its command-line arguments.
|
Echo1 prints its command-line arguments. |
ch01/echo2
Echo2 prints its command-line arguments.
|
Echo2 prints its command-line arguments. |
ch01/echo3
Echo3 prints its command-line arguments.
|
Echo3 prints its command-line arguments. |
ch01/fetch
Fetch prints the content found at each specified URL.
|
Fetch prints the content found at each specified URL. |
ch01/fetch-copy
Fetch prints the content found at a URL.
|
Fetch prints the content found at a URL. |
ch01/fetchall
Fetchall fetches URLs in parallel and reports their times and sizes.
|
Fetchall fetches URLs in parallel and reports their times and sizes. |
ch01/fetchall-body
Fetchall fetches URLs in parallel and reports their times and sizes.
|
Fetchall fetches URLs in parallel and reports their times and sizes. |
ch01/lissajous
Lissajous generates GIF animations of random Lissajous figures.
|
Lissajous generates GIF animations of random Lissajous figures. |
ch01/server1
Server1 is a minimal "echo" server.
|
Server1 is a minimal "echo" server. |
ch01/server2
Server2 is a minimal "echo" and counter server.
|
Server2 is a minimal "echo" and counter server. |
ch01/server3
Server3 is an "echo" server that displays request parameters.
|
Server3 is an "echo" server that displays request parameters. |
ch02/boiling
Boiling prints the boiling point of water.
|
Boiling prints the boiling point of water. |
ch02/cf
Cf converts its numeric argument to Celsius and Fahrenheit.
|
Cf converts its numeric argument to Celsius and Fahrenheit. |
ch02/echo4
Echo4 prints its command-line arguments.
|
Echo4 prints its command-line arguments. |
ch02/ftoc
Ftoc prints two Fahrenheit-to-Celsius conversions.
|
Ftoc prints two Fahrenheit-to-Celsius conversions. |
ch02/kelvin-tempconv
Package tempconv performs Celsius and Fahrenheit conversions.
|
Package tempconv performs Celsius and Fahrenheit conversions. |
ch02/popcount
(Package doc comment intentionally malformed to demonstrate golint.) !+
|
(Package doc comment intentionally malformed to demonstrate golint.) !+ |
ch02/tempconv
Package tempconv performs Celsius and Fahrenheit conversions.
|
Package tempconv performs Celsius and Fahrenheit conversions. |
ch02/tempconv0
Package tempconv performs Celsius and Fahrenheit temperature computations.
|
Package tempconv performs Celsius and Fahrenheit temperature computations. |
ch03/surface
Surface computes an SVG rendering of a 3-D surface function.
|
Surface computes an SVG rendering of a 3-D surface function. |
http-handler
handlers.go
|
handlers.go |
http-api
|
|
reader_writer
io.Reader 接口示例
|
io.Reader 接口示例 |
jose
|
|
jwt
|
|
kcp
|
|
misc
|
|
error
http://www.infoq.com/cn/articles/go-interface-talk
|
http://www.infoq.com/cn/articles/go-interface-talk |
flag
These examples demonstrate more intricate uses of the flag package.
|
These examples demonstrate more intricate uses of the flag package. |
learngoinyminutes
A package clause starts every source file.
|
A package clause starts every source file. |
mysql
数据库连接池测试 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/ |
reflect/struct-reflect
简单使用反射提供接口对象信息 通过反射TypeOf/ValueOf/Field/NumMethod等方法获取接口对象的字段,类型和方法等信息
|
简单使用反射提供接口对象信息 通过反射TypeOf/ValueOf/Field/NumMethod等方法获取接口对象的字段,类型和方法等信息 |
testing
go run -race testtrace.go
|
go run -race testtrace.go |
mock
|
|
msgp
|
|
network
|
|
nsq
|
|
plugin
|
|
pq
|
|
protobuf
|
|
addressbook
Package addressbook is a generated protocol buffer package.
|
Package addressbook is a generated protocol buffer package. |
rtmp
|
|
usr/bin/env go run $0 "$@"; exit
|
usr/bin/env go run $0 "$@"; exit |
sql
|
|
swig
|
|
testify
|
|
testing
|
|
websocket
|
|
writev
|
|
tcpclient
the prototype for go-writev, https://github.com/golang/go/issues/13451
|
the prototype for go-writev, https://github.com/golang/go/issues/13451 |
tcpserver
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
|
|
xorm
|
|
Click to show internal directories.
Click to hide internal directories.