const (
cat string = "奥迪"
price int = "120000元"
)
cat string = "奥迪"
price int = "120000元"
)
2018-04-16
package main
import "fmt"
var a string = "zhao"
var NAME string = "qian"
type COUNT int
type person struct {}
type person interface {}
func fn() {}
func main() {}
import "fmt"
var a string = "zhao"
var NAME string = "qian"
type COUNT int
type person struct {}
type person interface {}
func fn() {}
func main() {}
2018-04-13
稍微补充下~ 1、命令行 go env 可以查看当前相关环境参数 如GOPATH等 2、修改环境变量后需要重新打开一遍命令行,新的环境才能生效
2018-04-10