Key Concepts

Review core concepts you need to learn to master this subject

Go Comments

// one line comment /* this comment is on multiple lines and ends here */

Comments are useful for documentation in a Go file and are ignored by the compiler. There are two types of comments:

  • a single-lined comment is preceded by a double forward slash, //, and ends at the end of the line.
  • a multi-lined comment begins with /* followed by one or more lines of comments and ends with */
Learn Go: Introduction
Lesson 1 of 1

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