Ubuntu下安装Go语言开发环境及编辑器的相关配置

2020-01-28 11:59:42于丽

2016223163147034.png (246×256)


//a.go 
package main 
 
import "fmt" 
 
func main() { 
    fmt.Printf("Hello world") 


2016223163205148.png (797×636)

这里注意,Main source file需要选择,就是go的main方法所在文件