Golang I made this error so you don't need to Go's type system is very simple. And this is not even a bad thing in most circumstances, but it also can be very prone to errors if used incorrectly. I am a Go developer since 2017 and a professional Go back end developer since 2021 and I made
Golang Featured How the new loops in Go might become a performance trap In the new version 1.22 of Go, a critical issue with loops, which can cause nasty bugs and unexpected behavior when capturing the reference of a variable in a range loop or when using the value in a closure, has finally been fixed. The change Let's take
Web Development Loading Indicator using HTTP Interceptors in Angular. Loading indicators—whether bars, spinners or skeletons—are a great way to occupy the users attention while your page content needs some time to load data. As an example, this "fake" loading indicator was implemented in update 1.18 [https://github.com/zekroTJA/shinpuru/releases/tag/1.18.
Golang OOP in Go is awesome. The way Go handles general concepts of OOP is one of the many awesome things about this language—when you get to understand it. What is OOP? OOP is short for Object-oriented Programming, which is a programming paradigm based on objects, initialized from classes or structs, which can contain data
Golang Hard-Capping a bytes.Buffer. Go has a handy dandy struct called bytes.Buffer [https://golang.org/pkg/bytes/#Buffer] which consumes a byte slice and implements the interfaces io.Writer [https://golang.org/pkg/io/#Writer] and io.Reader [https://golang.org/pkg/io/#Reader]. So, it's simply a slice of memory
Web Development Hover animations with pure CSS. Recently, I was working on a React web app for my project ranna [https://github.com/ranna-go]. I was thinking about how to display general information about the service like endpoints, versions, copyright and imprint. But I wanted to keep the UI as clean and straight-forward as possible, so something
GitHub Actions This is probably the most overengineered thing I ever did. For those who don't know, since July of 2020, you can create a repository on GitHub with your tag as name. After that, the README.md of this repository is shown on your profile. Pretty cool, right? Well, as you can see, in the first sentence, I give
Golang Featured How Dependency Injection makes large Projects more fun to work with. > Because "Dependency Injection" is such a chunky word, I will refer to it as "DI" further in the article. First of all, what the heck is DI? Take the following example: We have a web application which is accessible via a REST API. This application