Great job! We’ve just finished your first Go lesson! In this lesson we learned about:

  • What Go/Golang is & what its used for.
  • The Go compiler.
  • Go Packages, including the main for executables.
  • Go Functions, including the main function.
  • Comments
  • Resources, including go doc.

If you’re interested in setting up your computer to create Go programs on your own computer, use our guide for developing Go locally!


Take a look at the code we wrote together. Review the concepts:

  • How to create a package declaration.
  • How to import packages.
  • How to create a main function and add code inside to print to the terminal.

Take this course for free

Mini Info Outline Icon
By signing up for Codecademy, you agree to Codecademy's Terms of Service & Privacy Policy.

Or sign up using:

Already have an account?