02-write-your-first-program/README.md
Hi!
For reference, you can store this cheatsheet after you take the lectures in this section.
You can also print this cheatsheet and then follow the video lectures in this section along with it.
Enjoy!
Enter into a directory: cd directoryPath
WINDOWS:
dirOS X & LINUXes:
lsBuild a Go program:
go build main.goRun a Go program:
go run main.gomkdir myDirectoryNamecd myDirectoryNamecode main.go file.
package main
import "fmt"
func main() {
fmt.Println("Hi! I want to be a Gopher!")
}
go run main.gogo run .That's all! Enjoy!
For more tutorials: https://blog.learngoprogramming.com
Copyright © 2018 Inanc Gumus
Learn Go Programming Course