官术网_书友最值得收藏!

  • Security with Go
  • John Daniel Leon
  • 38字
  • 2021-06-30 19:06:42

Writing your first program

The simplest package you can have is a single file inside a directory. Create a new file, ~/src/hello/hello.go, and put the following code inside:

package main

import "fmt"

func main() {
fmt.Println("Hello, world.")
}
主站蜘蛛池模板: 建湖县| 宾阳县| 上饶市| 揭东县| 武宣县| 玉溪市| 上栗县| 广安市| 梓潼县| 禄劝| 平南县| 鹤岗市| 阿鲁科尔沁旗| 梁山县| 富阳市| 海南省| 宝兴县| 宝清县| 水城县| 天长市| 陵水| 西昌市| 临清市| 渝中区| 平乡县| 资阳市| 蒲城县| 泰州市| 巢湖市| 自治县| 文化| 兰考县| 娄底市| 同心县| 伊吾县| 客服| 泗水县| 武宣县| 平遥县| 英吉沙县| 通州市|