Day 21 - JSON Handling in Go: Encoding & DecodingJSON (JavaScript Object Notation) is one of the most widely used data formats today. Whether you're building REST APIs, reading configuration files, communicating between microservices, or integratingJul 18 · 11 min readgosprint90.hashnode.dev
Day 20 - File Handling in Go (Part 5): Seek, File Information & Useful OperationsIn the previous articles, we learned how to: Read files Read large files efficiently using bufio Create files Write data Append content There are still a few useful file operations that you'll Jul 18 · 6 min readgosprint90.hashnode.dev
Day 19 - File Handling in Go (Part 4): Creating, Writing, and Appending FilesIn the previous articles, we learned different ways to read files in Go. Reading is only one half of file handling. In real-world applications, we often need to create new files, write data into them,Jul 18 · 5 min readgosprint90.hashnode.dev
Day 18 - File Handling in Go (Part 3): bufio.Scanner vs bufio.Readerbufio.Scanner and bufio.Reader are not competitors. They solve different problems. Use Scanner when you're reading structured input (like lines or words). Use Reader when you need more control over hoJul 18 · 6 min readgosprint90.hashnode.dev
Day 17 - File Handling in Go (Part 2): Reading FilesIn the previous article, we learned the different ways of reading files in Go and discussed when to use each approach. Now it's time to get our hands dirty and see how file reading actually works. We'Jul 18 · 5 min readgosprint90.hashnode.dev