Golang QuickStart
来自Jack's Lab
(版本间的差异)
(以“==== Prepare ==== Install the Go lang: <source lang=bash> $ sudo apt-get install golang-go </source> Install a library: <source lang=bash> $ sudo apt-get insta...”为内容创建页面) |
|||
第21行: | 第21行: | ||
* http://www.eclipse.org/paho/clients/golang/ | * http://www.eclipse.org/paho/clients/golang/ | ||
+ | <br><br> | ||
+ | |||
+ | == Basics == | ||
+ | |||
+ | <br><br> | ||
+ | |||
+ | == Operators == | ||
+ | |||
+ | <br><br> | ||
+ | |||
+ | == Control Flow == | ||
+ | |||
+ | <br><br> | ||
+ | |||
+ | == Functions == | ||
+ | |||
+ | <br><br> | ||
+ | |||
+ | == Data Structures == | ||
+ | |||
+ | <br><br> | ||
+ | |||
+ | == Exceptions == | ||
+ | |||
+ | === with...as === | ||
+ | |||
+ | <br><br> | ||
+ | |||
+ | == Modules == | ||
+ | |||
+ | <br><br> | ||
+ | |||
+ | == Resource == | ||
+ | |||
+ | <br><br> | ||
+ | <br><br> | ||
+ | <br><br> | ||
+ | <br><br> | ||
+ | <br><br> | ||
+ | <br><br> | ||
+ | <br><br> | ||
+ | <br><br> | ||
+ | <br><br> | ||
+ | <br><br> | ||
+ | <br><br> | ||
+ | <br><br> | ||
+ | <br><br> | ||
+ | <br><br> | ||
<br><br> | <br><br> |
2017年6月7日 (三) 08:10的版本
目录 |
1 Prepare
Install the Go lang:
$ sudo apt-get install golang-go
Install a library:
$ sudo apt-get install golang-eclipse-paho-dev $ export GOPATH=/usr/share/gocode
Refer to:
2 Basics
3 Operators
4 Control Flow
5 Functions
6 Data Structures
7 Exceptions
7.1 with...as
8 Modules
9 Resource