go mysql row 被scan 到 interface应该如何解析

直接.(int64)会报错



正确解法raw, ok := v.([]uint8)



strconv.ParseInt(string(raw),10,64)


Category storage
Error: Comments Not Initialized

泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545
泽民博客
zemin
2025-04-05 03:29:31.545