如何将int转换为int64?


118

我试图在go中将整数转换为integer64,但我没有运气。有人知道这样做的简单方法吗?


如果您显示了代码示例,为什么它不起作用。这个对我有用。play.golang.org/p/63GWAs8XAq
最大

Answers:




By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.