Browse Source

New -> NewRand

pull/1780/head
Jae Kwon 7 years ago
parent
commit
6d61ca3bb5
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      common/random.go

+ 2
- 2
common/random.go View File

@ -22,11 +22,11 @@ type Rand struct {
var grand *Rand
func init() {
grand = New()
grand = NewRand()
grand.init()
}
func New() *Rand {
func NewRand() *Rand {
rand := &Rand{}
rand.init()
return rand


Loading…
Cancel
Save