Commit 79f3f666 authored by AlexStocks's avatar AlexStocks

Mod: delete random id

parent 4c11dd06
......@@ -5,23 +5,6 @@ import (
"sync"
)
//func init() {
// rand.Seed(time.Now().UnixNano())
//}
//
//var (
// // The golang rand generators are *not* intrinsically thread-safe.
// randIDLock sync.Mutex
// randIDGen = rand.New(rand.NewSource(time.Now().UnixNano()))
//)
//
//func randID() uint64 {
// randIDLock.Lock()
// defer randIDLock.Unlock()
//
// return uint64(randIDGen.Int63())
//}
// task t
type task struct {
session *session
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment