(1) Go language learning | Install development environment, output hello world

1. Download the installation package

         https://golang.google.cn/dl/

2. Test whether the installation is successful, open cmd input

go version

3. Download the golang compiler

https://www.jetbrains.com/go/

4. New project main.go

package main

import "fmt"

func main() {
    fmt.Println("Hello, World!")
}

5. Run

Output Hello, World!

Guess you like

Origin blog.csdn.net/weixin_43101671/article/details/110387194