Golang or just Go! is a dev language created by google on 2009 and sounds be really ready for the next jump of the siecle 21 so let’s create something with this! 😉
1 – Let’s create a virtual enviroment using Miniconda, activate and check the GO version:
conda create -c conda-forge -n goenv go -y
conda activate goenv
go version
2 – Let’s create our module GO to publish later:
go mod init webapp
3 – Let’s create a file called main.go and test it! using the command go run main.go
package main
import (
"fmt"
)
func main() {
fmt.Println("Hello world!")
}
Congratulations