package main // 代码包声明语句。 import "fmt" //系统包用来输出的 func main() { // 打印函数调用语句。用于打印输出信息。 fmt.Println("helloworld") }
输出
helloworld
package main // 代码包声明语句。 import "fmt" //系统包用来输出的 func main() { // 打印函数调用语句。用于打印输出信息。 fmt.Println("helloworld") }
输出
helloworld
第一个程序:HelloWorld
gopath目录gopath目录就是我们存储我们所编写源代码的目录。该目录下往往要有3个
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M