(uin uint32)
| 10 | } |
| 11 | |
| 12 | func UinTimestamp(uin uint32) string { |
| 13 | currentTime := time.Now() |
| 14 | formattedTime := currentTime.Format("0102150405") |
| 15 | milliseconds := currentTime.Nanosecond() / 1000000 |
| 16 | return fmt.Sprintf("%d_%s%02d_%d", uin, formattedTime, currentTime.Year()%100, milliseconds) |
| 17 | } |
no test coverage detected