### 基本的數據類型
* bool 布爾型 true or flalse
* string 字符串 "hello world"
* int、int8、int16、int32、int64 整形
* float32、float64 浮點型
* complex64、complex128 復數類型(忽略)
### 變量聲明:
~~~
var (//這種寫法我們一般用于常量的聲明
a int
b bool
c string
d float32
)
const f int = 100
const Pi float32 = 3.1415
fmt.Printf("a=%d b=%t c=%s d=%f f=%d\n", a, b, c, d, f)
a = 10
b = true
c = "hello"
d = 10.8
fmt.Printf("a=%d b=%t c=%s d=%f\n", a, b, c, d)
~~~

## Tips
~~~go
s := "string" //只能用戶函數中 左邊的變量必須是一個的新的變量
~~~
~~~go
var vname1, vname2, vname3 = 1, 2, 3 // 一次生命多個變量,自動推斷
~~~
~~~
const ( //一次生命多個常量 常量在生命時必須賦值
a int=1
b bool=false
c string="aaaa"
d float32=2.23
)
~~~