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?Feb 6, 20213Feb 6, 20213
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…Apr 5, 2023Apr 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…Apr 4, 2023Apr 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…Apr 3, 20231Apr 3, 20231
Daryl NgBuild a serverless request poller on AWSLearn how you can build a highly scalable request poller in minutes.Aug 18, 2021Aug 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.Feb 19, 20211Feb 19, 20211
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.Feb 17, 2021Feb 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…Feb 16, 2021Feb 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.Feb 6, 2021Feb 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.May 11, 20201May 11, 20201