Containerize Golang Application
Let's assume we have a sample Golang application (in a Go project folder).
Contents of main.go
package main
import "fmt"
func main() {
fmt.Println("hello world")
}
In the same folder, run the following commands to initialize go modules
# initial...
mridulganga.dev2 min read