Revision eea7f28be45251646bef4dc3bb1a26bf3ca04d8b authored by Yicheng Qin on 24 June 2015, 21:29:07 UTC, committed by Yicheng Qin on 25 June 2015, 17:43:12 UTC
It is possible to trigger the time.After case if the timer went off
between time.After setting the timer for its channel and the time that
select looked at the channel. So it needs to be longer.

refer: https://groups.google.com/forum/#!topic/golang-nuts/1tjcV80ccq8
1 parent 44fda79
History
File Mode Size
Documentation
Godeps
client
discovery
error
etcdctl
etcdmain
etcdserver
hack
integration
logos
migrate
pkg
proxy
raft
rafthttp
scripts
snap
storage
store
tools
version
wal
.dockerignore -rw-r--r-- 5 bytes
.gitignore -rw-r--r-- 107 bytes
.godir -rw-r--r-- 23 bytes
.header -rw-r--r-- 589 bytes
.travis.yml -rw-r--r-- 119 bytes
CONTRIBUTING.md -rw-r--r-- 2.1 KB
DCO -rw-r--r-- 1.4 KB
Dockerfile -rw-r--r-- 47 bytes
LICENSE -rw-r--r-- 11.1 KB
MAINTAINERS -rw-r--r-- 157 bytes
NOTICE -rw-r--r-- 126 bytes
Procfile -rw-r--r-- 1.3 KB
README.md -rw-r--r-- 4.4 KB
ROADMAP.md -rw-r--r-- 1.2 KB
build -rwxr-xr-x 567 bytes
cover -rwxr-xr-x 626 bytes
main.go -rw-r--r-- 1.1 KB
test -rwxr-xr-x 2.1 KB

README.md

back to top