#+title: go commands
go mod init <module path>
-
Initalized a go.mod file
-
Describes the module and go version of used in the program go.mod file
module booking-app go 1.20
-
the module path is also the import path
-
All code belongs to a package.