Welcome to the Go Practice repository!
This repo is your gateway to mastering Go (Golang) programming through hands-on exercises, clear guides, and a structured syllabus—perfect for self-paced learning or as a reference for educators.
1. Set Up Your Go Environment
Start by preparing your computer for Go development.
See setup.md for full, step-by-step instructions covering:
- Installing Go on Linux, macOS, or Windows
- Verifying your installation
- Setting up your workspace (
GOPATH
, environment variables) - Recommended tools (VS Code + Go extension)
- Running a test program (
hello.go
) - First steps in the
content/
directory - Enabling Go modules
Quick Start:
# For Ubuntu/Debian
sudo apt update
sudo apt install golang-go
# Or with Homebrew (macOS)
brew install go
See the Setup Guide for details.
All learning content is organized and explained in syllabus.md:
- Module-based learning: From Go basics to advanced topics
- File and folder guide: Each script or program in
content/
is an exercise or example - Project suggestions: Capstone ideas to consolidate your skills
Modules include:
- Go installation & workspace setup
- Syntax & data types
- Control structures (if, for, switch)
- Functions & error handling
- Arrays, slices, maps
- Pointers & memory
- Structs & methods
- Recursion & algorithms
- File operations and shell scripting
- Testing & debugging
- Capstone mini-projects
See the Syllabus for a full breakdown and learning roadmap.
content/
— Code exercises and scripts (core learning material)setup.md
— Environment setup guidesyllabus.md
— Course outline and roadmapREADME.md
— (You are here!) Entry point and docs homeLICENSE.md
— License & usage terms
See the syllabus for details on what each file/folder covers.
- Set up your environment using setup.md
- Follow the modules in syllabus.md
- Explore and run code in the
content/
folder - Read, modify, and experiment to deepen your understanding
- Use Docsify for a live, navigable documentation site (see below)
To view these guides and exercises as a docs site:
- Install Docsify globally:
npm i docsify-cli -g
- Start Docsify in your repo directory:
docsify serve .
- Visit
http://localhost:3000
in your browser
Have questions or feedback?
Please open an issue on GitHub.
This project is licensed under terms described in LICENSE.md.
Feel free to fork, adapt, and use for educational purposes.
Happy coding and learning!
— kc-clintone