Francesco PastoreCapturing Stack Traces in Go: A Step-by-Step GuideA guide to making debugging easier and logs more meaningful by adding a stack trace to your errors in Go6h ago6h ago
Francesco PastoreGetting Up to Speed with Error Handling in GoHow to take your first steps with error handling in Go, following common code design rules.Sep 24Sep 24
Francesco PastoreBoosting Go Performance: Dynamic vs Static AllocationA simple test about the performance of dynamic and static allocation in Go to create a new sliceAug 7Aug 7
Francesco PastoreSpeeding Up Array Processing in Go with the Slices PackageFind out how the slices package can help you speed up the processing of common array operations.Apr 15Apr 15
Francesco PastoreMastering Logging in Go: A Deep Dive into the Zap LibraryLearn how to supercharge your Go application’s logging capabilities with the powerful Zap library.Mar 11Mar 11
Francesco PastoreExploring the Singleton Pattern in GoDiscover the power of the Singleton pattern in Go as we look into its applications and advantages.Feb 251Feb 251
Francesco PastoreinCloud Native DailyInside the Go Build Cache and the Incremental Build MechanismHow Go employs incremental builds to make the compilation process faster by caching previously compiled packages.Aug 2, 2023Aug 2, 2023
Francesco PastoreBuilding Better Endpoints in Go with Custom HTTP MiddlewaresAn introduction to HTTP middlewares and how to build and apply them to your Go endpoints with practical examples.Jul 26, 2023Jul 26, 2023
Francesco PastoreFloating Point Numbers in Go: Exploring Rounding Issues and Effective StrategiesThe technique employed to store floating point numbers can be the cause of potential issues within your application. In this article, we…Jul 5, 2023Jul 5, 2023
Francesco PastoreTable-Driven Testing in GoTesting your code is a crucial step in the development process. However, it can become cumbersome and time-consuming, especially when…Feb 28, 2023Feb 28, 2023
Francesco PastoreFive web frameworks for GoGo is becoming one of the most widely used languages for creating APIs because of its simplicity and speed. In fact, compared to other…Feb 9, 20232Feb 9, 20232
Francesco PastoreWhy you should leave Gorilla and start using Fiber insteadGorilla is one of the most used Go libraries to develop REST API. It is very simple to use and it makes the standard net/http library more…Nov 12, 20222Nov 12, 20222
Francesco PastoreFive tips on how to use Gorm betterGorm is one of the most used ORMs for the Go language. It is complete and very easy to use. But sometimes the documentation does not cover…Nov 1, 2022Nov 1, 2022
Francesco PastoreTesting Gorm functions with a SQLite DBGorm is an ORM for Go that helps to simplify SQL database management.Sep 7, 20212Sep 7, 20212
Francesco PastoreHow to make an endpoint to download data with browser using GoLately at work, I needed to make an endpoint to download data. The problem was that the files were stored on a very slow file server and…May 16, 2021May 16, 2021