Learn Go: Introduction
Lesson 1 of 1
  1. 1
    Go, or Golang, is an open sourced programming language designed by three Google employees: [Robert Griesemer](https://translate.google.com/translate?sl=auto&tl=en&u=https%3A%2F%2Fde.wikipedia.org%2…
  2. 2
    When we write Go code, we’re writing it to be readable for ourselves and other developers. We’re able to make sense of the code and its intentions. Computers, on the other hand, do NOT understand G…
  3. 3
    Great, we were able to compile our program into an executable file that will always print out “Hello World”. If we want our program to run again, we don’t have to compile the program again, we simp…
  4. 4
    Now that we understand how to compile and run Go programs, let’s take a detailed look at the structure of Go’s program, specifically its packages: package main import “fmt” func main () { f…
  5. 5
    Continuing on with our program, we have: func main () { fmt.Println(“Hello World”) } There are a few things happening in our main function. We’re introduced to how functions (reusable blo…
  6. 6
    Previously, we imported a single package, fmt. But, we can import so many more! Go has an extensive list of packages that we can take advantage of. [Here’s a list of Go’s standard packages](https:…
  7. 7
    We can’t always be there in person to explain to the next developer (or even our future self) what our code does or what our intentions were when writing it. That’s where comments come in. Commen…
  8. 8
    Learning a new language like Go involves learning the accompanying rules and syntax. But, we don’t have to commit everything to memory! It’s ok to search things up, in fact, that’s what all good pr…
  9. 9
    Great job! You’ve just finished your first Go lesson! In this lesson you learned about: What Go/Golang is. What Go is used for. Go’s compiler. How to compile Go files into an executable….

What you'll create

Portfolio projects that showcase your new skills

Pro Logo

How you'll master it

Stress-test your knowledge with quizzes that help commit syntax to memory

Pro Logo