Overview
A command-line program written in Go that connects to a public REST API, retrieves JSON payloads, and displays the parsed data in a clean, formatted output. The project demonstrates practical API consumption and Go's standard library for HTTP and JSON.
Features
- HTTP GET requests using Go's
net/httppackage - JSON unmarshalling into typed structs
- Formatted terminal output with error reporting
- Configurable endpoint via CLI flags
Tech Stack
Go (Golang)
net/http
encoding/json
REST APIs
Challenges & Learnings
Learning Go's strict typing system alongside JSON decoding required careful struct design to match API schemas. This project built confidence in Go's idioms — error handling patterns, struct tags, and the standard library's power for network tasks.