Best of GolangDecember 2023

  1. 1
    Article
    Avatar of freecodecampfreeCodeCamp·2y

    The Best Go Tools to Use for Your Frontend Projects

    Explore essential Go tools for frontend projects, including Fiber for performant web frameworks, Buffalo for holistic web development, Grift for task automation, Gomponents for creating web UI components, and Present for creating slide decks and presentations.

  2. 2
    Article
    Avatar of communityCommunity Picks·2y

    Go + TypeScript full stack web app, with nextjs, PostgreSQL and Docker

    Learn how to create a full stack web app using Go and TypeScript in this article. The app uses Next.js, Tailwind CSS, Go, PostgreSQL, and Docker. It provides step-by-step instructions for setting up the backend, creating a database with Docker, and building the frontend. You can find the full code on GitHub.

  3. 3
    Article
    Avatar of devtoDEV·2y

    How To Build a Web Application with HTMX and Go

    Learn how to create a web application with HTMX and Go using the babyapi library. HTMX extends HTML with functionality that normally requires JavaScript, making it a perfect companion for babyapi. This tutorial walks you through the steps of implementing an HTMX frontend in babyapi, including creating the TODOs API, responding with HTML instead of JSON, creating the All TODOs page, implementing server-sent events, and adding final touches. The tutorial also mentions the storage layer and suggests further extensions you can implement.

  4. 4
    Article
    Avatar of communityCommunity Picks·2y

    Building an event-driven system in Go using Pub/Sub

    Building an event-driven system in Go using Pub/Sub. Compares the benefits of Pub/Sub to traditional API implementation and provides a guide on how to build an event-driven application with Go using Pub/Sub.

  5. 5
    Article
    Avatar of jetbrainsJetBrains·2y

    Learn Go This Week: A Language Built for Simplicity and Efficiency

    Learn about the advantages of learning Go, the content included in the Go course, and how to access the course on JetBrains Marketplace.

  6. 6
    Article
    Avatar of awegoAwesome Go·2y

    Awesome Go Weekly - Issue 397, Dec 28, 2023

    Weekly overview of popular Go news, articles, and packages. Includes reminiscing CGI scripts, carcinization of Go programs, learning GitHub repos, JSON constructors, Docker setup for Go APIs, collecting and analyzing billions of data points, scan2email, Golang meetup, and large-scale Oracle extractions.

  7. 7
    Article
    Avatar of hnHacker News·2y

    Termshark • A terminal UI for tshark, inspired by Wireshark

    Termshark is a terminal UI for tshark, inspired by Wireshark. It allows users to read pcap files, sniff live interfaces, use Wireshark's display filters, and more. It is available for Linux, macOS, *BSD, Android (termux), and Windows. Recent updates include packet search, profiles, configurable columns, magic wormhole, vim navigation, cmdline, packet marks, and themes.

  8. 8
    Article
    Avatar of towardsdevTowards Dev·2y

    Error handling in Go with the Result Pattern

    An article on error handling in Go using the Result Pattern, which allows for different outcomes, such as success, failure, or exception. The pattern avoids using exceptions for control flow and instead returns a structured object with relevant information. Custom error types and examples are also covered.

  9. 9
    Article
    Avatar of lobstersLobsters·2y

    charmbracelet/huh: A simple, powerful library for forms and prompts in the terminal 🤷🏻‍♀️

    A simple and powerful library for forms and prompts in the terminal. The library supports building interactive forms, prompts, and supports screen readers. It can be used in standalone applications or integrated into Bubble Tea applications.

  10. 10
    Article
    Avatar of alexedwardsAlex Edwards·2y

    Quick tip: Implementing an in-memory cache in Go – Alex Edwards

    Learn how to implement an in-memory cache in Go using a mutex-protected map and manage data persistence.

  11. 11
    Article
    Avatar of golangGo·2y

    Finding unreachable functions with deadcode

    The deadcode tool is a helpful tool for identifying and removing unreachable functions in Go programs. It uses Rapid Type Analysis (RTA) to determine which functions are reachable and provides information on why certain functions are live. However, the tool's analysis may not capture all unreachable functions and may not be aware of functions called exclusively from assembly code.

  12. 12
    Article
    Avatar of substackSubstack·2y

    goroutines under the hood

    This article explores the intricacies of Go's concurrency model, specifically focusing on the Go scheduler and the management of goroutines. It covers the difference between logical and physical processors, the role of the Go runtime, and how goroutines are scheduled and executed. The article also discusses the efficiency of Go's parking and unparking strategy for managing system resources.

  13. 13
    Article
    Avatar of medium_jsMedium·2y

    Golang: Easy Fetch Millions of Data using Concurrent

    This article discusses the challenges of fetching huge amounts of data, including performance concerns, resource utilization, network bandwidth, and data filtering and sorting. It presents a case study of fetching data from a third-party API and suggests using concurrent running to improve performance. It provides an example implementation using Golang and explains the concept of concurrency.

  14. 14
    Article
    Avatar of snykSnyk·2y

    Secure password hashing in Go

    Learn about the best practices for password hashing, common attack methods used to crack hashed passwords, and the available hashing algorithms in Go.