Best of GolangAugust 2022

  1. 1
    Article
    Avatar of glcGolang News·4y

    A personal information dashboard for your terminal, developed in Golang

    WTF is a personal information dashboard for your terminal, developed in Golang for those who spend most of their day in the command line. It provides a framework for rapidly viewing crucial at-a-glance information quickly. Keep an eye on your OpsGenie schedules, Google Calendar, Git and Github repositories.

  2. 2
    Article
    Avatar of quastorQuastor Daily·4y

    The Architecture of Facebook's Distributed Message Queue

    Facebook Ordered Queue Service (FOQS) is an internal Facebook tool that fills that role. FOQS provides an API that consists of the following operations - Enqueue - Add an item Dequeue The dequeue API accepts a collection of (topic, count) pairs where count represents the number of items to return from the topic.

  3. 3
    Article
    Avatar of communityCommunity Picks·4y

    fRPC: A Faster, More Flexible RPC Framework

    fRPC is an RPC framework that's designed from the ground up to be lightweight, extensible, and extremely performant. It uses a completely custom messaging format and generates a highly-optimized client/server implementation. It's available now in early alpha under the Apache 2 open source license. The benchmarks were performed over a local network to avoid inconsistencies due to network latency.

  4. 4
    Article
    Avatar of quick_codeQuick Code·4y

    5 Free Golang Courses to learn Go Programming

    Golang is an open-source programming language developed at Google by Rob Pike, Robert Griesemer, and Ken Thompson. It is a procedural, compile-time, and statically-typed programming language designed by Google to address the problems that Google had in developing software at scale. In this Golang course, we will cover: Loops Arrays Maps Structs and Structs.

  5. 5
    Article
    Avatar of devgeniusDev Genius·4y

    Concurrency in Go is hard

    Go is generally known for having good built-in support for concurrency in Go. The solution was fixed in #2171 by using sync. It could also have been fixed without using the sync package by using an init function to set the variable v once. When the doSomething function is evaluated, running RLock / RUnlock will not affect the original lock in the User struct rendering it useless. The solution uses a pointer.

  6. 6
    Article
    Avatar of golangGo·4y

    Go 1.19 is released!

    Go's memory model now explicitly defines the behavior of the sync/atomic package. Existing programs are unaffected.

  7. 7
    Article
    Avatar of logrocketLogRocket·4y

    Building a full-stack app with Bud and Go

    New Go framework Bud allows frontend and backend code to expand based on the needs of its users. Bud is a framework that keeps things simple but can scale up when needed. Bud comes with built-in functionality for frontend development with Svelte and uses Go for the backend. The index method would return a view from a file called index.svelte in our view folder.

  8. 8
    Article
    Avatar of changelogChangelog·4y

    Learning a new language, or how I gained familiarity with Go · Jamie Tanna

    After 6 years of professional development using Java, coming to Deliveroo meant that I'd be starting to work on some Go codebases. When the realisation of writing Go as part of my day job appeared, shorten.

  9. 9
    Article
    Avatar of gcgitconnected·4y

    How to build a (simple) blog using Rust

    Rust is an amazing language both in terms of speed of the execution and developer experience. The goal of the rewrite is to get something out which could serve as a learning example and be built upon to further my understanding of the language. For this project, serde will be used for serializing the metadata of a blog post. This is macro, or more precisely, a proc_macro.

  10. 10
    Article
    Avatar of hackernoonHacker Noon·4y

    Why You Need to Learn Multiple Programming Languages

    Boot.dev is a battery-included computer science curriculum in the browser. The full curriculum will only require the use of about 6 languages in total. The majority of the program can just use JavaScript, Python, and Go. If you only write one programming language, it’s easy to assume a certain You might find yourself needing to look up syntax occasionally, but everyone does that.

  11. 11
    Article
    Avatar of hashnodeHashnode·4y

    Transitioning Into Web3 As a Frontend, Backend, or Fullstack Developer

    A full-stack developer has the knowledge and abilities to work on a web application's front and backend. This includes HTML, CSS, Javascript, Reactjs, or Angular on the frontend (client) and coding with Javascript, Java, Go lang or C# on the backend (server side)

  12. 12
    Article
    Avatar of quastorQuastor Daily·4y

    How Netflix Implements Load Shedding

    API Gateway sits between the backend and the client and it handles things like rate limiting, authentication, monitoring and routing requests. The first decision was where to implement the load shedding algorithm. Zuul will throttle requests below a certain priority threshold. This is meant to protect the API gateway itself. The metrics used to trigger global throttling are concurrent.

  13. 13
    Article
    Avatar of glcGolang News·4y

    How to implement gRPC with Golang

    How to implement gRPC with Golang will show you how to build a basic unary server-client. The unary could be the simplest because it just involves a request and a response. The client makes the request by sending the needed information by calling the related method to execute the action.

  14. 14
    Article
    Avatar of bignerdranchBig Nerd Ranch·4y

    Go Generics in API Design

    Go Generics in API Design Go 1.18 has finally landed, and with it comes its own flavor of generics. For example, you should try to handle errors before using panic since the latter will end up exiting your program. Since this compiles, we won’t know this broke something until we deploy and get the bug report.

  15. 15
    Article
    Avatar of infoworldInfoWorld·4y

    What’s the Go programming language (Golang) really good for?

    Google's Go language, aka Golang, has evolved from being a curiosity for alpha geeks to being the battle-tested programming language behind some of the world’s most important cloud-centric projects. Go is designed to err on the side of being small and easy to understand, with certain features deliberately omitted.

  16. 16
    Article
    Avatar of glcGolang News·4y

    How to create an automated GitHub Bot in Golang

    Golang Let’s look at how you can get started creating a bot written in Go that can interact with GitHub. To begin receiving GitHub events for you to react to (such as someone creating a pull request), you need to create a GitHub App.

  17. 17
    Article
    Avatar of devtoDEV·4y

    Lessons Learned In 12 Months Of Blogging

    My blog is officially 12 months old! I've written over 50 articles, managed to rank multiple of them on page 1 of Google. In this article, I'll share all the lessons I've learned in 12 months of consistent blogging.

  18. 18
    Article
    Avatar of hnHacker News·4y

    Don’t call it a comeback: Why Java is still champ

    Java has been among the top three languages since its launch in 1995. Companies like Amazon, Google, Netflix, Pinterest, Spotify, Square, and Zoom all employ Java across their codebases. In just two years Java ranked number three in popularity, outpaced only by C and C++.

  19. 19
    Article
    Avatar of medium_jsMedium·4y

    Atomic Pointers in Go 1.19

    Objective-C has atomic properties, it ensures safe read and writes to a property from different threads. Since Go is multithreaded, it supports atomic operations as well. Pointer is a great way to bring atomic memory primitives into your program. It is a simple way to prevent data races without fancy mutex code in place. The code with atomic pointers returned no feedback regarding a data race.

  20. 20
    Article
    Avatar of hnHacker News·4y

    I replaced all our blog thumbnails using DALL·E 2 for $45: here’s what I learned

    AI generated images from DALL-E make better blog thumbnails, do it cheaper, and generally just be more fun? I spent the weekend and $45 in OpenAi credits generating new thumbnails that better represent the content of all 100+ posts from It’s worth some time browsing r/dalle2 to get some ideas for what goes into a good prompt.

  21. 21
    Article
    Avatar of glcGolang News·4y

    A Golang low-code engine to create web services and dashboards

    Low-Code Demo Application Yao allows developers to create web services by processes. Yao is a low-code engine that creates a database model, writes API services, and describes a dashboard interface just by JSON for web & hardware, no code, and 10x productivity. Yao has a built-in data management system.

  22. 22
    Article
    Avatar of glcGolang News·4y

    Substrings vs. Regular Expressions – Benchmarking in Golang

    In this third part of a four-part series, we’ll cover benchmarking in Go using our text filtering tool as a test subject. Using these tools, we can garner insights on whether the tool runs faster (under these scenarios) using substring or pattern matching.

  23. 23
    Article
    Avatar of itnextITNEXT·4y

    My Contribution to a Popular Open-Source Package Caused a Panic in Golang Projects

    My Contribution to a Popular Open-Source Package Caused a Panic in Golang Projects Hello. I will tell you how my development to a popular open-source project caused errors to people using the project around the world. The swaggo/swag project is one of the most popular and widely used solutions. But in reality it may not be so.

  24. 24
    Article
    Avatar of semaphoreSemaphore·4y

    A Developer’s Guide to Terraform

    Terraform is a platform-agnostic tool that defines infrastructure in human-readable code. Terraform code describes the end state of the infrastructure after creation or change, not the instructions for making the change. The provider turns the declarative code into imperative instructions.

  25. 25
    Article
    Avatar of logrocketLogRocket·4y

    A guide to JWT authentication in Go

    Go 1.16 or later installed on your machine (for security reasons) Experience building web applications in Go or any other language (optional) The golang-jWT package is the most popular package for implementing JWTs in Go, owing to its features and ease of use. You will need a secret key to generate JWT tokens using the Golang-JWT package. If you want to modify the JWT, you can use the claims method. If there are no errors, you should use the Claims method.