You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
"math/rand"
|
|
|
|
"os"
|
|
|
|
)
|
|
|
|
|
|
|
|
func main() {
|
|
|
|
fmt.Println("stdin: ", os.Stdin.Fd())
|
|
|
|
fmt.Println("stdout:", os.Stdout.Fd())
|
|
|
|
fmt.Println("stderr:", os.Stderr.Fd())
|
|
|
|
|
|
|
|
fmt.Println("pseudorandom number:", rand.Int31())
|
|
|
|
}
|