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
- gRPC-go 入門(1):Hello WorldRPCGo
- Go Web 程式設計之 Hello WorldGoWeb程式設計
- Hello, World
- Hello,World
- Hello World
- Hello World!
- Hello World !
- 《快學 Go 語言》第 1 課 —— Hello WorldGo
- Deep "Hello world!"
- Hello Python worldPython
- Hello World探究
- Docker Hello WorldDocker
- dotnet hello world
- ant Hello World
- I'm Hello World
- 輸出hello world
- RabbitMQ tutorial - "Hello world!"MQ
- WebGL 的 Hello WorldWeb
- react的”Hello World !“React
- Flutter Web 之 Hello WorldFlutterWeb
- Hello World! XJ is here.
- 01-C++ "hello world"C++
- python輸出hello worldPython
- C# Hello,World(1)
- [WebAssembly 入門] Hello, world!Web
- RabbitMQ 入門 - Hello WorldMQ
- spring boot(一)hello worldSpring Boot
- 【Flutter 基礎】Hello WorldFlutter
- JMicro微服務Hello World微服務
- ROS之初見Hello WorldROS
- 清華尹成帶你實戰GO案例(42)Go 經典hello worldGo
- PHPCPP安裝以及hello worldPHP
- Smali 語法解析——Hello World
- spring boot(一)hello world 搭建Spring Boot
- 深入分析 Hello World 程式
- C++20 module Hello worldC++