Skip to main content

CourseBeta

Learn Go Basics

Learn Go from scratch with this beginner-friendly course, no coding experience needed. Write variables, loops, functions, slices, maps, structs and interfaces, and handle errors the Go way.

  • Level: Beginner
  • Duration: 1 month
  • Type: Interactive
  • Language: English
  • Practice Problems: 60+
  • Quizzes: 90+
Enroll for FREE

Course Content

  • 1.1 Get Started
  • 1.2 Taking Input
  • 1.3 Values
  • 1.4 Variables and Zero Values
  • 1.5 Print Output
  • 1.6 Operators and Type Conversion
  • 1.7 Packages and Imports
  • 1.8 Revise Introduction

  • 2.1 if...else Statement
  • 2.2 for Loop
  • 2.3 break and continue
  • 2.4 switch Statement
  • 2.5 Control Flow Examples
  • 2.6 Revise: Control Flow

  • 3.1 Declaring and Calling Functions
  • 3.2 Parameters
  • 3.3 Return Values
  • 3.4 Multiple Return Values
  • 3.5 Revise: Functions

  • 4.1 Arrays
  • 4.2 Slices
  • 4.3 Adding to a Slice
  • 4.4 Maps
  • 4.5 Range over Slices and Maps
  • 4.6 Revise: Slices and Maps

  • 5.1 Strings and Bytes
  • 5.2 Looping Over a String
  • 5.3 Runes and Unicode
  • 5.4 The strings Package
  • 5.5 Revise: Strings

  • 6.1 Structs
  • 6.2 Methods
  • 6.3 Interfaces
  • 6.4 Revise: Structs, Methods and Interfaces

  • 7.1 Errors as Values
  • 7.2 Creating Errors
  • 7.3 Handling an Error
  • 7.4 Defer
  • 7.5 Revise: Errors and Defer

  • 8.1 Go Basics Summary
  • 8.2 Practice: Word Count
  • 8.3 Practice: Grades
  • 8.4 Practice: Shapes
  • 8.5 Final Quiz
Start this Course
Get Certified

Frequently asked questions

You can start Learn Go Basics with a 7-day free trial. Click "Enroll for FREE" to begin.

About 1 month. The course has 8 chapters.

No. Learn Go Basics has no prerequisites. Level: Beginner.