mirror of
https://github.com/impact-eintr/netstack.git
synced 2025-10-26 22:20:21 +08:00
base package
This commit is contained in:
11
rand/rand.go
Normal file
11
rand/rand.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package rand
|
||||
|
||||
import "crypto/rand"
|
||||
|
||||
// Reader is the default reader.
|
||||
var Reader = rand.Reader
|
||||
|
||||
// Read implements io.Reader.Read.
|
||||
func Read(b []byte) (int, error) {
|
||||
return rand.Read(b)
|
||||
}
|
||||
Reference in New Issue
Block a user