start
go
package main
import (
"fmt"
"math/rand"
)
func main() {
fmt.Println("我最喜欢的数字是 ", rand.Intn(10))
}import ( 中的 () 是分组
大写字母开头的名字为导出