Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Oct 21st, 2017
92
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.30 KB
| None
|
0
0
raw
download
clone
embed
print
report
for range time.Tick(30 * time.Millisecond) {
doSomthing()
}
//time.Tick()返回的是一个channel,每隔指定的时间会有数据从channel中出来,
//for range不仅能遍历map,slice,array还能取出channel中数据,range前面可以不用变量接收,
//所以可以简写成上面的形式。
Add Comment
Please,
Sign In
to add comment
Public Pastes
pastebin.ai - New pastebin.com alternative
PHP | 40 min ago | 0.81 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 🤑
GetText | 57 min ago | 0.39 KB
🤑 G2A.com Free Gift Card Guide Apr 2024 FIX 💰
GetText | 1 hour ago | 0.38 KB
claudio barreintos - GSM
CSS | 1 hour ago | 0.36 KB
How Can You Get a 500USD No Deposit Bonus and...
PHP | 2 hours ago | 2.76 KB
Untitled
Python | 2 hours ago | 0.94 KB
Untitled
JSON | 2 hours ago | 4.07 KB
Untitled
JSON | 2 hours ago | 4.84 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!