PSPUSARLA SIVAKALKIingosprint90.hashnode.dev·3d ago · 11 min readDay 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 integrating00
PSPUSARLA SIVAKALKIingosprint90.hashnode.dev·3d ago · 6 min readDay 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 00
PSPUSARLA SIVAKALKIingosprint90.hashnode.dev·3d ago · 5 min readDay 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,00
PSPUSARLA SIVAKALKIingosprint90.hashnode.dev·3d ago · 6 min readDay 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 ho00
PSPUSARLA SIVAKALKIingosprint90.hashnode.dev·3d ago · 5 min readDay 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'00