wangpl_study/day05/package/main.go

16 lines
128 B
Go

package main
import "fmt"
var x int8 = 10
const pi = 3.14
func init() {
fmt.Println(pi)
}
func main() {
fmt.Println(x)
}