[問題] 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