Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

LinkedIn Learning

Hands-On Introduction: Go

via LinkedIn Learning

Overview

Discover the power and applicability of the Go programming language in this practical, in-depth introduction.

Syllabus

Introduction
  • Hands-on with Go
  • Using GitHub Codespaces with this course
1. Packages and Functions
  • Code organization with packages
  • Importing and using packages
  • Third-party packages
  • Packages and visibility
  • Functions
  • Challenge 1: Working with packages
2. Basic Types and Variables
  • Variables, types, and scope
  • Constants
  • Type conversions
  • Pointers
  • Challenge 2: Working with primitive types
3. Composite Types
  • Struct basics
  • Struct methods
  • Struct pointers
  • Struct embedding
  • Arrays
  • Slices
  • Maps
  • Challenge 3: Working with composite types
4. Flow Control
  • Loops
  • Conditionals
  • Defer, panic, and recover
  • Challenge 4: Flow control
5. Interfaces
  • Defining and implementing interfaces
  • The empty interface
  • Type assertions
  • Type switches
  • Challenge 5: Working with interfaces
6. Generics
  • Type parameters
  • Interface constraints
  • Standard library support
  • Challenge 6: Refactoring with generics
7. Testing
  • Writing simple tests, setup, and teardown
  • Table-driven tests
  • Benchmarking
  • Challenge 7: Write some tests
8. Concurrency
  • Goroutines
  • Channel basics
  • Buffered channels
  • Channel ranging
  • Channel select
  • Channel non-blocking
  • Sync package
  • Challenge 8: Goroutine synchronization
Conclusion
  • Next steps

Taught by

Johnny Boursiquot

Reviews

4.8 rating at LinkedIn Learning based on 197 ratings

Start your review of Hands-On Introduction: Go

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.