A comprehensive training resource for learning Go programming with a focus on HTTP, APIs, and testing.
This repository contains documentation and examples for learning Go programming. The content is organized into sections covering HTTP basics, API interactions, and testing practices.
The documentation is built with MkDocs using the Material theme. To view the documentation:
-
Install Python, MkDocs, and the Material theme:
brew install pyenv pyenv install 3.13.2 && pyenv global 3.13.2 pip install mkdocs mkdocs-material
-
Run the documentation server locally:
mkdocs serve
-
Open your browser and navigate to
http://localhost:8000
The training materials cover:
- HTTP Basics: Making HTTP requests, parsing responses, and working with JSON
- Testing: Writing unit tests, table-driven tests, and running tests effectively
- CLI: Building command-line interfaces with Go, using the
cobra
library - gRPC: Understanding gRPC concepts, Protocol Buffers, and implementing gRPC services
Start with the "HTTP Basics" section to learn about making HTTP requests and processing responses. When you're ready to learn about testing, check out the "Testing" section for comprehensive guides on writing and running tests in Go.