Go Practice Labs (Deprecated)

This course contains lots of labs for Go, each lab is a small Go project with detailed guidance and solutions. You can practice your Go skills by completing these labs, improve your coding skills, and learn how to write clean and efficient code.

Golang

Syllabus

Go Basics: Value Types Exploration

Golang Constants Comprehension

Exploring Golang Variable Declarations

String Formatting Fundamentals in Golang

String Manipulation in Go

Strings and Runes

Arrays Manipulation in Golang

Go Slices: A Hands-on

Creating and Manipulating Go Maps

Struct Manipulation in Go

Golang Pointers Comprehension

Golang For Loop Understanding

Go If-Else Branching

Concise Switch Statement Explanation

Functions in Go Programming

Multiple Return Values

Variadic Functions in Go

Go Programming Language Methods

Go Interfaces Tutorial

Golang Struct Embedding

Exploring Go's Range Keyword

Handling Errors in Golang

Golang Error Handling Proficiency

Deferred Function Execution in Go

Handling Panics with Golang Recover

Generics in Go 1.18

Creating Closures with Anonymous Functions in Go

Recursive Functions in Golang

Golang Goroutines Concurrency

Buffered Channels in Go Programming

Golang Channel Function Parameters

Synchronizing Goroutines with Channels

Golang Channels Concurrency

Golang Channel Communication with Workers

Non-Blocking Channel Operations

Range Over Channels

Go Select Statement Demonstration

Implementing Go Timeouts with Channels

Golang Timer and Ticker Tutorial

Timers and Tickers

Worker Pool with Goroutines and Channels

Waitgroups: Coordinating Concurrent Goroutines

Implementing Rate Limiting in Go

Atomic Counters in Concurrent Go

Concurrent Data Access with Mutexes

Concurrent Goroutine Synchronization

Reading Files in Go

Write Files in Go

Concise Go Text Transformation Program

File Path Handling in Golang

Working with Directories in Go

Temporary Files and Directories

Embedding Files in Go Binaries

Sorting Built-in Types in Go

Sorting by Functions

Dynamic Content Generation with Golang Templates

Golang Regular Expression Tutorial

Golang JSON Encoding and Decoding

Golang XML Mapping and Manipulation

Go Time and Duration Exploration

Golang Unix Epoch Time Retrieval

Time Formatting and Parsing

Random Number Generation in Go

Parse Numbers in Go

Parsing URLs in Go

Compute SHA256 Hashes in Go

Base64 Encoding in Golang

Testing and Benchmarking

Command-Line Argument Handling in Go

Command-Line Flag Parsing in Go

Command Line Subcommands

Fundamentals of Unix Environment Variables

Golang HTTP Request Handling

Basic HTTP Server in Go

Golang Context Cancellation Demonstration

Replacing Go Process with exec

Spawning External Processes in Go

Handling Unix Signals in Go

Exit Function in Go

Introduction

This "Go Practice Labs" course is designed to help you hone your Go programming skills through a series of hands-on projects. Each lab in this course presents a small, focused Go project with detailed guidance and solutions, allowing you to practice your coding abilities and learn how to write clean, efficient Go code.

🎯 Tasks

In this Course, you will learn:

  • How to implement various Go programming concepts and techniques through practical, real-world projects
  • How to write clean, well-structured Go code that follows best practices
  • How to solve common programming problems using the Go language
  • How to debug and optimize your Go code for better performance

🏆 Achievements

After completing this Course, you will be able to:

  • Confidently apply your Go programming skills to solve a wide range of problems
  • Demonstrate your ability to write clean, maintainable, and efficient Go code
  • Showcase your Go expertise through the completion of these practice labs
  • Enhance your problem-solving skills and become a more proficient Go developer

Teacher

labby
Labby
Labby is the LabEx teacher.

Recommended For You

no data