David in Canada

 

Tech, life, and everything in between.

Day 9 — Understanding Pointers and Struct Mutation in Go

Updated at # Tech # Go

Overview Today I learned one of the most important concepts in Go: pointers. Pointers are essential for understanding how data is passed and modified in Go. This lesson focused on how Go handles values vs references, and how to properly mutate struct data. What I Built An enhanced Student Manager CLI that: uses struct methods with pointer receivers demonstrates value vs pointer behavior updates

Day 8 — Structs and Data Modeling in Go

Updated at # Tech # Go

Overview Today I moved from simple procedural code to structured programming using Go structs. The focus was on modeling real-world data (students) and organizing logic around that model. This is a key step toward writing code that resembles real backend systems. What I Built A Student Manager CLI that: collects student data (name, age, score) stores data using a struct computes average score fi

Day 7 — String Processing and Anagram Detection in Go

Updated at # Tech # Go

Overview Today I worked on combining strings, runes, and maps to solve practical problems such as character counting and anagram detection. This is an important step toward writing interview-ready code, since string processing combined with hash maps is one of the most common problem patterns. What I Built A String Analyzer CLI that: reads a string input computes character frequency counts vowel

Day 6 — Using Maps for Frequency Analysis in Go

Updated at # Tech # Go

Overview Today I focused on Go’s map type and applied it to a classic problem: frequency counting. Instead of just learning syntax, I implemented a small CLI tool that processes a list of integers and extracts useful insights from it. This is a key step toward writing interview-ready code, since maps and frequency patterns appear frequently in real-world problems. What I Built A Frequency Analyze

Day 5 of Learning Go: Understanding Slices and a Tricky Bug

Updated at # Tech # Go

Overview Today I focused on Go’s core collection type: slices. Instead of treating this as a syntax exercise, I built a small CLI tool to process a list of integers and used it to explore common patterns and pitfalls. The goal was to move from “knowing slices” to using them correctly under real conditions. What I Built A simple Number List Analyzer that: reads a dynamic list of integers from use