Home | 简体中文 | 繁体中文 | 杂文 | 打赏(Donations) | 云栖社区 | OSChina 博客 | Facebook | Linkedin | 知乎专栏 | Github | Search | About

第 1 章 golang

目录

1.1. helloword
1.2. 优化编译参数
1.3. 变量
1.3.1. const 常量定义
1.4. 数值类型
1.4.1. 数组
1.5.
1.6. 定义map类型
1.7. class
1.8. json
1.9. package
1.9.1. time

1.1. helloword

		
package main

import "fmt"

func main(){

	fmt.Printf("Hello World!!!\n");

}
		
		
		
neo@MacBook-Pro ~/golang % go build test.go 
neo@MacBook-Pro ~/golang % ./test 
Hello World!!!