Best of GolangApril 2022

  1. 1
    Article
    Avatar of hnHacker News·4y

    Lies we tell ourselves to keep using Golang

    Go is a great way to evaluate technologies, but it's far from enough to fill out the tech battle. By adopting technology that doesn't reflect the true cost of adopting that technology will very rarely reflect the cost of using it. It doesn't matter who points out that "maybe we shouldn't hit ourselves in the head with a rake repeatedly": that's no matter who it comes from.

  2. 2
    Article
    Avatar of medium_jsMedium·4y

    A Deep Dive Into Go’s Concurrency

    Go is known for its first-class support for concurrency, or the ability for a program to deal with multiple things at once. Code concurrently running is becoming a more important part of programming as computers move from running a single stream of code faster to running more streams simultaneously. Three features in Go, goroutines, channels, and selects, make concurrency easier when used together.

  3. 3
    Article
    Avatar of towardsdevTowards Dev·4y

    GoLang Beginner Unit Testing Tutorial

    GoLang Beginner Unit Testing Tutorial. The goal of unit testing is to enable sustainable growth of the software project. With testing, programmers aim to detect any potential problems before deploying the application to production. We can easily test HTTP handlers without the cost of an integration test thanks to net/http/httptest package.

  4. 4
    Article
    Avatar of dzDZone·4y

    Golang and Event-Driven Architecture

    Use the Paho MQTT library for Golang. The PubSub+ Messaging API for Go. The source code can be found in this open-source Github repo. We will be using the Eclipse PahoMQTT Go client. The code is written in Go and is available on GitHub.