Hello, Go
Part of the Go course
Welcome. If you have never written code before, you are in the right place. Go is a programming language, which is a way to give a computer step by step instructions in something that looks a bit like English with extra punctuation. By the end of this lesson you will have run your first Go program and you will know what a package is. That is the whole job. We are not in a rush.
There is no hello.go in your lesson folder yet. Create it with this program: press Play on the block and the file is made for you. Pressing Play again does not make a second copy. ...
Want to learn Go Hello, Go in a real environment?
Click below, get a fresh Linux box with Go ready to go, and work through Hello, Go hands-on with an AI tutor that knows your code.
Start this lessonHello, GoWhat you'll learn
- Package main
- Import
- Func main
- Fmt.Println
- Go run
Read this lesson in your language
All lessons in this course
20 lessons- 1Hello, Go25 min
- 2Variables and Types25 min
- 3Control Flow: if and for30 min
- 4Functions30 min
- 5Slices and Maps35 min
- 6Structs and Pointers35 min
- 7Methods and Interfaces35 min
- 8Error Handling35 min
- 9Modules and Project Structure35 min
- 10Tiny CLI Capstone40 min
- 11A Tour of the Standard Library40 min
- 12Testing and Benchmarks40 min
- 13Goroutines and Channels40 min
- 14Concurrency Patterns45 min
- 15Generics35 min
- 16HTTP Servers45 min
- 17Databases with database/sql45 min
- 18Performance and Profiling40 min
- 19Design Patterns in Go40 min
- 20Deployment and Production45 min
