Allenxuxu / gev

🚀Gev is a lightweight, fast non-blocking TCP network library / websocket server based on Reactor mode. Support custom protocols to quickly and easily build high-performance servers.
MIT License
1.73k stars 194 forks source link

error #43

Closed xxxlzj520 closed 4 years ago

xxxlzj520 commented 4 years ago

mac SDK1.4和1.5都试过。

../../pkg/mod/github.com/!allenxuxu/gev@v0.1.9/connection/connection.go:65:31: cannot use int(time.Now().Unix()) (type int) as type int64 in argument to conn.activeTime.Swap ../../pkg/mod/github.com/!allenxuxu/gev@v0.1.9/connection/connection.go:137:28: cannot use int(time.Now().Unix()) (type int) as type int64 in argument to c.activeTime.Swap

Allenxuxu commented 4 years ago

拉最新的代码,这个问题已经修复过了