Directories
¶
| Path | Synopsis |
|---|---|
|
excelrc/time
command
|
|
|
gostudynote/constdef
command
|
|
|
log
command
|
|
|
rbt-cli/src/client/consumer
command
|
|
|
rbt-cli/src/client/produce
command
|
|
|
rbt-cli/src/github.com/streadway/amqp
Package amqp is an AMQP 0.9.1 client with RabbitMQ extensions
|
Package amqp is an AMQP 0.9.1 client with RabbitMQ extensions |
|
rbt-cli/src/github.com/streadway/amqp/_examples/simple-consumer
command
This example declares a durable Exchange, an ephemeral (auto-delete) Queue, binds the Queue to the Exchange with a binding key, and consumes every message published to that Exchange with that routing key.
|
This example declares a durable Exchange, an ephemeral (auto-delete) Queue, binds the Queue to the Exchange with a binding key, and consumes every message published to that Exchange with that routing key. |
|
rbt-cli/src/github.com/streadway/amqp/_examples/simple-producer
command
This example declares a durable Exchange, and publishes a single message to that Exchange with a given routing key.
|
This example declares a durable Exchange, and publishes a single message to that Exchange with a given routing key. |
|
rbt-cli/src/pubsub
command
|
|
|
rbt-cli/src/simple-consumer
command
This example declares a durable Exchange, an ephemeral (auto-delete) Queue, binds the Queue to the Exchange with a binding key, and consumes every message published to that Exchange with that routing key.
|
This example declares a durable Exchange, an ephemeral (auto-delete) Queue, binds the Queue to the Exchange with a binding key, and consumes every message published to that Exchange with that routing key. |
|
rbt-cli/src/simple-producer
command
This example declares a durable Exchange, and publishes a single message to that Exchange with a given routing key.
|
This example declares a durable Exchange, and publishes a single message to that Exchange with a given routing key. |
|
reflect
command
|
|
|
repeatedlock
command
|
|
|
shadows/3.1415926
command
|
|
|
shadows/panic
command
|
|
|
utils
command
|
|
|
utils/ibase/slicemove
command
|
|
|
utils/ibase/tmutex
command
|
|
|
utils/ioutils
command
|
|
|
utils/ioutils/location
command
|
|
|
utils/irand
command
|
|
|
utils/json
command
|
|
|
utils/stringutil
Package stringutil contains utility functions for working with strings.
|
Package stringutil contains utility functions for working with strings. |
|
arch/once
command
|
|
|
arch/t0
command
|
|
|
arch/t1
command
|
|
|
arch/test
command
|
|
|
arch/test/tmptest
command
|
|
|
arch/test/tmptest/jsontest
command
|
|
|
arraytostring
command
|
|
|
base/jottings/crypto
command
|
|
|
base/jottings/duration
command
|
|
|
base/jottings/parseInt
command
|
|
|
base/niuk/alias
command
|
|
|
base/niuk/assigninterface
command
|
|
|
base/niuk/deferTest
command
|
|
|
base/niuk/definedAdd
command
|
|
|
base/niuk/dupargs
command
|
|
|
base/niuk/emitPanic
command
|
|
|
base/niuk/switch
command
|
|
|
base/niuk/type00
command
|
|
|
base/niuk/xhello
command
|
|
|
base/note
command
|
|
|
base/note/architecture/list
command
|
|
|
base/note/cgo/cenum
command
|
|
|
base/note/cgo/cstruct
command
|
|
|
base/note/cgo/cunion
command
|
|
|
base/note/cgo/goexportforc
command
导出 Go 函数给 C 调⽤,须使⽤ "//export" 标记。
|
导出 Go 函数给 C 调⽤,须使⽤ "//export" 标记。 |
|
base/note/cgo/hello
command
|
|
|
base/note/cgo/malloc
command
|
|
|
base/note/cgo/sharelib
command
|
|
|
base/note/cgo/strtran
command
|
|
|
base/note/cgo/test2
command
|
|
|
base/note/closure
command
|
|
|
base/note/func/defer
command
|
|
|
base/note/func/test1
command
|
|
|
base/note/func/test2
command
|
|
|
base/note/gotest/pprof/test1
command
|
|
|
base/note/map/test1
command
|
|
|
base/note/method
command
|
|
|
base/note/method/expression
command
|
|
|
base/note/method/likeextends
command
|
|
|
base/note/pointeroperator
command
|
|
|
base/note/pointeroperator/test1
command
|
|
|
base/note/rangecopy/test1
command
|
|
|
base/note/reflect/type
command
|
|
|
base/note/reflect/type/getTag
command
|
|
|
base/note/reflect/type/getmethod
command
|
|
|
base/note/reflect/value
command
|
|
|
base/note/reflecttype
command
|
|
|
base/note/slice
command
|
|
|
base/note/slice/append
command
|
|
|
base/note/slice/copy
command
|
|
|
base/other
command
|
|
|
base/pagenet/100shades/deferfunc
command
|
|
|
base/pagenet/100shades/mapin
command
|
|
|
base/pagenet/50shades/rangetest
command
|
|
|
base/pagenet/calc
command
|
|
|
base/pagenet/chanbuffer
command
|
|
|
base/pagenet/closure
command
|
|
|
base/pagenet/defer_call
command
|
|
|
base/pagenet/foreach
command
|
|
|
base/pagenet/funcpointer
command
|
|
|
base/pagenet/interfacestructure
command
|
|
|
base/pagenet/jottings/logjson
command
|
|
|
base/pagenet/panicexception
command
|
|
|
base/pagenet/showaorb
command
|
|
|
base/pagenet/slicelen
command
|
|
|
base/pagenet/typicalAny/bibao
command
|
|
|
base/pagenet/typicalAny/gosched
command
|
|
|
cgo/cgo/foo/src/cplusplus
foo.go
|
foo.go |
|
cgo/cgo/foo/src/cplusplus/main
command
|
|
|
cgo/go-callc
command
|
|
|
cgo/sample
command
|
|
|
designforio/mapupdate
command
|
|
|
designforio/mutexatomicbibao
command
|
|
|
designforio/quicksort
quick.go
|
quick.go |
|
designforio/race
command
|
|
|
designforio/race/repla
command
|
|
|
fromliongo/test
command
go协程goroutine与Java多线程比较 个人理解的线程,协程和单,多核线程 1.
|
go协程goroutine与Java多线程比较 个人理解的线程,协程和单,多核线程 1. |
|
fromliongo/test/other
command
|
|
|
fromliongo/test/other/niaowo
command
|
|
|
godoc
* 提供的常用库,有一些常用的方法,方便使用--from doc.go
|
* 提供的常用库,有一些常用的方法,方便使用--from doc.go |
|
godoc/doc
* 提供的常用库,有一些常用的方法,方便使用--from doc.go
|
* 提供的常用库,有一些常用的方法,方便使用--from doc.go |
|
httpreverseproxy
command
|
|
|
innerthing
command
|
|
|
instancetest
command
|
|
|
interfacenil
command
|
|
|
interfacenil/runtime_test
command
|
|
|
mullinestr
command
|
|
|
niaowo
command
|
|
|
os-signals
command
Go中通过os/signals包,可以接受系统信号。
|
Go中通过os/signals包,可以接受系统信号。 |
|
protobuf_any
Package anything is a generated protocol buffer package.
|
Package anything is a generated protocol buffer package. |
|
service/main
command
|
|
|
spilteTest
command
|
|
|
splitetest
command
|
|
|
sync
command
|
|
|
sync/concurent-sync-sample
command
创建一个文件存放数据,在同一时刻,可能会有多个Goroutine分别进行对此文件的写操作和读操作.
|
创建一个文件存放数据,在同一时刻,可能会有多个Goroutine分别进行对此文件的写操作和读操作. |
|
sync/concurent-sync-sample-v2-cond
command
创建一个文件存放数据,在同一时刻,可能会有多个Goroutine分别进行对此文件的写操作和读操作.
|
创建一个文件存放数据,在同一时刻,可能会有多个Goroutine分别进行对此文件的写操作和读操作. |
|
sync/concurent-sync-sample-v3-atomic
command
创建一个文件存放数据,在同一时刻,可能会有多个Goroutine分别进行对此文件的写操作和读操作.
|
创建一个文件存放数据,在同一时刻,可能会有多个Goroutine分别进行对此文件的写操作和读操作. |
|
sync/once.do
command
|
|
|
sync/sync.Pool
command
|
|
|
synchronized
command
WaitGroup的用途:它能够一直等到所有的goroutine执行完成,并且阻塞主线程的执行,直到所有的goroutine执行完成。
|
WaitGroup的用途:它能够一直等到所有的goroutine执行完成,并且阻塞主线程的执行,直到所有的goroutine执行完成。 |
|
timeouttest
command
|
|
|
unsafecon
command
|
|
|
unsafecon/test1
command
|
|
|
unsafecon/test2
command
|
|
|
unsafecon/test3
command
|
Click to show internal directories.
Click to hide internal directories.