Directories
¶
Path | Synopsis |
---|---|
container
|
|
deque
2017/08/21 Package gxdeque implements deque(double-eneded queue) in golang.
|
2017/08/21 Package gxdeque implements deque(double-eneded queue) in golang. |
queue
ref: https://github.com/eapache/queue/blob/master/queue.go
|
ref: https://github.com/eapache/queue/blob/master/queue.go |
set
refs: https://github.com/deckarep/golang-set 20170413, branch master, latest version v1.6 refs: https://github.com/deckarep/golang-set 20170413, branch master, latest version v1.6 Package gxset implements a simple and generic set collection.
|
refs: https://github.com/deckarep/golang-set 20170413, branch master, latest version v1.6 refs: https://github.com/deckarep/golang-set 20170413, branch master, latest version v1.6 Package gxset implements a simple and generic set collection. |
database
|
|
redis
2017-08-12 11:57 Package gxredis provides a redis driver by sentinel ref: https://github.com/alexstocks/go-sentinel/blob/master/sentinel.go Package gxredis is a generated protocol buffer package.
|
2017-08-12 11:57 Package gxredis provides a redis driver by sentinel ref: https://github.com/alexstocks/go-sentinel/blob/master/sentinel.go Package gxredis is a generated protocol buffer package. |
sql/driver
2016-09-11 19:30 Package gxdriver provides a MySQL driver for Go's database/sql package code example: https://github.com/alexstocks/go-practice/blob/master/mysql/stmt.go
|
2016-09-11 19:30 Package gxdriver provides a MySQL driver for Go's database/sql package code example: https://github.com/alexstocks/go-practice/blob/master/mysql/stmt.go |
io
|
|
ioutil
Package gxioutil implements some I/O utility functions.
|
Package gxioutil implements some I/O utility functions. |
package gxlog is based on log4go.
|
package gxlog is based on log4go. |
elasticsearch
2017-04-02 02:04 package gxelasticsearch provides a Elasticsearch driver
|
2017-04-02 02:04 package gxelasticsearch provides a Elasticsearch driver |
kafka
Package gxkafka encapsulates some kafka functions based on github.com/Shopify/sarama.
|
Package gxkafka encapsulates some kafka functions based on github.com/Shopify/sarama. |
gxmath provides some pow likely functions
|
gxmath provides some pow likely functions |
rand
Package gxrand encapsulates some golang.math.rand functions Package gxrand encapsulates some golang.math.rand functions.
|
Package gxrand encapsulates some golang.math.rand functions Package gxrand encapsulates some golang.math.rand functions. |
Package gxnet encapsulates some network functions
|
Package gxnet encapsulates some network functions |
packaeg gxos encapsulates os related functions.
|
packaeg gxos encapsulates os related functions. |
http://blog.csdn.net/siddontang/article/details/23541587 reflect.StringHeader和reflect.SliceHeader的结构体只相差末尾一个字段(cap) vitess代码,一种很hack的做法,string和slice的转换只需要拷贝底层的指针,而不是内存拷贝。
|
http://blog.csdn.net/siddontang/article/details/23541587 reflect.StringHeader和reflect.SliceHeader的结构体只相差末尾一个字段(cap) vitess代码,一种很hack的做法,string和slice的转换只需要拷贝底层的指针,而不是内存拷贝。 |
ref: https://rogpeppe.wordpress.com/2009/12/01/concurrent-idioms-1-broadcasting-values-in-go-with-linked-channels/ Package gxsync provides some synchronization primitives such as trylock & semaphore.
|
ref: https://rogpeppe.wordpress.com/2009/12/01/concurrent-idioms-1-broadcasting-values-in-go-with-linked-channels/ Package gxsync provides some synchronization primitives such as trylock & semaphore. |
pool
Package pool implements a pool of Object interfaces to manage and reuse them.
|
Package pool implements a pool of Object interfaces to manage and reuse them. |
Package gxtime encapsulates some golang.time functions Package gxtime encapsulates some golang.time functions Package gxtime encapsulates some golang.time functions ref: https://github.com/AlexStocks/go-practice/blob/master/time/siddontang_time_wheel.go
|
Package gxtime encapsulates some golang.time functions Package gxtime encapsulates some golang.time functions Package gxtime encapsulates some golang.time functions ref: https://github.com/AlexStocks/go-practice/blob/master/time/siddontang_time_wheel.go |
Click to show internal directories.
Click to hide internal directories.