Go - Hello World
Go - Hello World
Mac 下安裝go
1.安裝Homebrew
安裝命令
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
2.使用brew安裝go
brew install go
檢視go的安裝
go version
輸出:
go version go1.11 darwin/amd64
3.HelloWorld
推薦的IDE是 GoLand
package main
import "fmt"
func main() {
fmt.Print("Hello, world")
}
相關文章
- Go:Hello WorldGo
- [系列] Go gRPC Hello WorldGoRPC
- Go Web 程式設計之 Hello WorldGoWeb程式設計
- gRPC-go 入門(1):Hello WorldRPCGo
- Hello World
- Hello World!
- Hello, World
- Hello World !
- Hello,World
- 《快學 Go 語言》第 1 課 —— Hello WorldGo
- dotnet hello world
- ant Hello World
- Deep "Hello world!"
- Hello Python worldPython
- Hello World探究
- Docker Hello WorldDocker
- 輸出hello world
- RabbitMQ tutorial - "Hello world!"MQ
- react的”Hello World !“React
- WebGL 的 Hello WorldWeb
- I'm Hello World
- C# Hello,World(1)
- python輸出hello worldPython
- spring boot(一)hello worldSpring Boot
- ROS之初見Hello WorldROS
- Flutter Web 之 Hello WorldFlutterWeb
- Hello World! XJ is here.
- JMicro微服務Hello World微服務
- 【Flutter 基礎】Hello WorldFlutter
- 01-C++ "hello world"C++
- [WebAssembly 入門] Hello, world!Web
- RabbitMQ 入門 - Hello WorldMQ
- 清華尹成帶你實戰GO案例(42)Go 經典hello worldGo
- 最長的Hello, World!(Python)Python
- C++20 module Hello worldC++
- 《Lua-in-ConTeXt》01:Hello world!Context
- React 學習之 Hello WorldReact
- Python基礎01 Hello World!Python