A memorandum for learning Golang. I referred to the following URL this time.
Since it is described below Please have a look if you like.
Build a virtual server with VMware on Windows 10 and try using Docker
--Go installation
Terminal
#Golang installation
dnf install -y epel-release
dnf install -y golang
#Golang version check
go version
→「go version go1.13.4 "is displayed
--Operation check (Go file creation)
Terminal
#Go file creation for operation check
vim hello.go
#Add the following
package main
import "fmt"
func main(){
fmt.Println("hello world")
}
#Operation check
go run hello.go
#It should be displayed as below
hello world
Next time, I would like to summarize Go's tutorial.
Recommended Posts