Random string function should only contains letters (#1906)
This commit is contained in:
parent
b0e0712984
commit
3e7d1f9acf
2 changed files with 17 additions and 13 deletions
|
|
@ -19,6 +19,7 @@ package main
|
|||
import (
|
||||
"encoding/json"
|
||||
"fmt"
|
||||
"math/rand"
|
||||
"net"
|
||||
"net/http"
|
||||
"net/http/pprof"
|
||||
|
|
@ -47,6 +48,8 @@ import (
|
|||
)
|
||||
|
||||
func main() {
|
||||
rand.Seed(time.Now().UnixNano())
|
||||
|
||||
fmt.Println(version.String())
|
||||
|
||||
showVersion, conf, err := parseFlags()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue