/learn-go

A repository to learn `golang` using practice-driven approach. It's for only storing & tracking the progression.

Primary LanguageGoBSD 2-Clause "Simplified" LicenseBSD-2-Clause

Learn Go (Golang)

Welcome to the learn-go repository! This repository is dedicated to learning Go (Golang) through a practice-driven approach. It's designed to store and track progression, providing a clear and structured path for beginners to learn the basics of Go in just 7 days.

Prerequisites

  • Comfortable using Command Line Interface(CLI).
  • (add...)

Overview

Learning modules are classified into days, showcasing how much a beginner can learn within or on 7 days. By following these modules, learning Go becomes a piece of cake 🍰.

Structure

Day Topics
Day 1 🚀 Introduction and Setup: Installing Go, Go workspace (GOPATH, GOROOT), basic tools, first program
Day 2 📝 Basic Syntax and Data Types: Variables, constants, data types (int, float64, string, bool), type conversion
Day 3 🔄 Control Structures: Conditionals (if, else if, else), loops (for, range-based), switch statements
Day 4 🔧 Functions: Defining/calling functions, multiple/named return values, anonymous functions, closures
Day 5 🗂️ Data Structures: Arrays, slices (slicing, appending, copying), maps (dictionaries), structs
Day 6 📍 Pointers and Methods: Understanding pointers, defining methods on types, interfaces
Day 7 ⚙️ Concurrency Basics: Goroutines, channels, select statement

Note: This learn-go repository is designed for those who already have experience with another programming language. With your existing programming knowledge, you will find it easier to understand and learn Go through this repository.