Cast golang interface to int64 does not work as expected

后端 未结 0 776
迷失自我
迷失自我 2020-12-02 08:14

I am trying to write a method to convert epoch timestamps to int64 values, but the method may get multiple data types; e.g. int64, int

相关标签:
回答
  • 消灭零回复
提交回复
热议问题