Commit 0737c4e1 authored by 张振华's avatar 张振华

update

parent de85e647
......@@ -23,7 +23,7 @@ const (
var (
randgen *rand.Rand
//randMux sync.Mutex
// Fmt ...
Fmt = fmt.Sprintf
once sync.Once
......@@ -36,11 +36,6 @@ func Init() {
randgen = rand.New(rand.NewSource(time.Now().UnixNano()))
}
})
//if randgen == nil {
// randMux.Lock()
// randgen = rand.New(rand.NewSource(time.Now().UnixNano()))
// randMux.Unlock()
//}
}
// WriteFile ...
......
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