[问题] golang Sleep millisecond

楼主: mingtai1 (绿豆嘉义人)   2016-07-10 00:20:49
刚接触golang...请问要如何sleep 小于秒的单位?
time.Sleep(0.1)都会跳出constant 0.1 truncated to integer的错误
问题有点蠢但却也google不到答案... = =
感谢...

Links booklink

Contact Us: admin [ a t ] ucptt.com