摘要: package main import ( "fmt" "runtime" ) func main() { fmt.Println(runtime.GOOS) fmt.Println(runtime.GOARCH) } 结果: #go run go-cpu.go linux amd64 阅读全文
posted @ 2022-10-31 10:56 salami_china 阅读(728) 评论(0) 推荐(0) 编辑