PinnedDaryl NgWhy you need to avoid using append in Goappend is the go to function when you are adding an element to a slice. But is it the best way to do so?2 min read·Feb 6, 2021--3--3
Daryl NgWhy you should avoid pointers in GolangGo is a modern programming language that has gained popularity due to its simplicity, readability, and efficient memory management. One of…3 min read·Apr 5, 2023----
Daryl NgPointers in GolangGo (often referred to as Golang) is a popular programming language known for its simplicity, concurrency support, and efficient memory…2 min read·Apr 4, 2023----
Daryl NgHow to build a microservice with GolangMicroservices are a popular architectural pattern that allows software applications to be broken down into small, independent services…3 min read·Apr 3, 2023--1--1
Daryl NgBuild a serverless request poller on AWSLearn how you can build a highly scalable request poller in minutes.2 min read·Aug 18, 2021----
Daryl NgWhy you should avoid ioutil.ReadAll in GoWhen you have an io.Reader, the most common way to read is with ioutil.ReadAll but it is not the best and most efficient way.2 min read·Feb 19, 2021--1--1
Daryl NgSwitch better than if-else in Go?I am sure you have wondered if switch is more efficient than if-else. So here is a little experiment to compare them.1 min read·Feb 17, 2021----
Daryl NginNE DigitalUnit testing in Go and its importanceI think we can all agree that we did not enjoy writing unit tests when we first started coding. We want to write for new features and…3 min read·Feb 16, 2021----
Daryl NgHow to concatenate strings efficiently in GoHave you ever wonder if you are concatenating strings efficiently? I did, and so here are the results.2 min read·Feb 6, 2021----
Daryl NgUpdate WordPress with SELinux EnabledAre you getting permission errors when you update WordPress with SELinux enabled? This fix will allow you to update WordPress in 5 minutes.2 min read·May 11, 2020--2--2