package uuid
import "time"
func GenerateUUID() uint64 {
return uint64(time.Now().UnixNano()) //即从时间点January 1, 1970 UTC到时间点t所经过的时间(单位纳秒)
}
2024-04-05 09:44:30
package uuid
import "time"
func GenerateUUID() uint64 {
return uint64(time.Now().UnixNano()) //即从时间点January 1, 1970 UTC到时间点t所经过的时间(单位纳秒)
}