15 lines
191 B
Go
15 lines
191 B
Go
package expr
|
|
|
|
import (
|
|
"encoding/hex"
|
|
"math/rand"
|
|
)
|
|
|
|
func randStr() string {
|
|
b := make([]byte, 16)
|
|
if _, err := rand.Read(b); err != nil {
|
|
panic(err)
|
|
}
|
|
return hex.EncodeToString(b)
|
|
}
|