今天我好友和我說go語言的好處,我就納悶了,排名剛剛出來排15的go語言有那麼吊嗎?於是我就學了一下才發現,go 語言確實好用,只不過插件庫太少了,很多依賴還沒有.
go語言地址
go語言系統要求
go 的安裝步驟和java一樣,下載安裝搭建環境變量
定義類型
類型(
A1 =字符串
A2 = A1
)
類型(
B1弦
B2 B1
B3 [] B1
B4 B3
)
數組類型
ArrayType =“ [” ArrayLength “]” ElementType。
ArrayLength = 表達式。
ElementType = 類型。
實現接口非常簡單
InterfaceType =“接口”“ {” { MethodSpec “;” }“}”。
MethodSpec = MethodName 簽名 | InterfaceTypeName。
MethodName = 標識符。
InterfaceTypeName = 類型名稱。
``
好啦今天就水到這裏啦`