Home
About
Services
Portfolio
Events
Blog
FAQ
Contact
泽民博客
☰ Menu
go mysql row 被scan 到 interface应该如何解析
by 夏泽民
Jun 12, 2021
直接.(int64)会报错
正确解法raw, ok := v.([]uint8)
strconv.ParseInt(string(raw),10,64)
Category storage