, adding modules: , , The go tool with module support automatically downloads and installs dependencies. But for it to work, you must initialize your module. , , Its not enough to save the source in a .go file and run with go run hello.go, a go.mod file must exist. , , To init your module, do as indicated in the tutorial: , , go mod init hello ,
, declaring data type: , , var i int = 1 , , i := 1 , ,
, constants: , const str = DQhello worldDQ ,