Best of GolangMarch 2024

  1. 1
    Article
    Avatar of lobstersLobsters·2y

    I'm a programmer and I'm stupid

    A programmer shares their experience of feeling limited in their mental capacity and discusses their approach to programming with simple languages and minimal dependencies.

  2. 2
    Article
    Avatar of awegoAwesome Go·2y

    Learning Go in 2024; From Beginner to Senior

    A comprehensive list of resources for learning and improving Go programming skills, from beginner to senior level. Includes books, video courses, tutorials, and more.

  3. 3
    Article
    Avatar of awegoAwesome Go·2y

    Hexagonal Architecture/Ports And Adapters: Clarifying Key Concepts Using Go

    This post explains Hexagonal Architecture, also known as Ports and Adapters. It discusses its origins, the concept of Ports and Adapters, and provides a concrete example using Go. The post also highlights the benefits of using Ports and Adapters, such as flexibility, testability, and reduced dependencies.

  4. 4
    Article
    Avatar of newstackThe New Stack·2y

    Learn the Go Programming Language: Start Here

    The Go programming language (aka Golang) is a versatile and fast compiled language used for various applications. It has simplicity, concurrency, fast compilation, built-in testing, and eliminates the distinction between synchronous and asynchronous code. Installing Go on Ubuntu Linux is possible using Snap or apt. The first Go application is a 'Hello, World' program.

  5. 5
    Video
    Avatar of primeagenThePrimeTime·2y

    The Best Golang Book | Prime Reacts

    This post discusses the value of beginner programmer books, the usefulness of intro into Go books, and the presence of books about specific topics within a programming language, such as concurrency in Go.

  6. 6
    Article
    Avatar of communityCommunity Picks·2y

    Advice for new Go Programmers

    Advice and tips for new Go programmers, including the importance of simplicity, understanding concurrency, leveraging interfaces, and handling errors.

  7. 7
    Video
    Avatar of dreamsofcodeDreams of Code·2y

    The standard library now has all you need for advanced routing in Go.

    The Go standard library now has all the advanced routing features you need, including path parameters, method-based routing, and middleware.

  8. 8
    Article
    Avatar of hnHacker News·2y

    Nanos.org

    Nanos serves static content almost twice as fast as Linux.

  9. 9
    Article
    Avatar of awegoAwesome Go·2y

    Preventing SQL Injection with Golang

    This post discusses the concept of SQL injection and how to prevent it in Go. It explains the vulnerabilities associated with SQL injection and demonstrates ways to fix them using prepared statements and parameterized queries.

  10. 10
    Article
    Avatar of ardlbsArdan Labs·2y

    For Loops and More in Go

    Learn about different ways to write a for loop in Go, including using more than one variable, label breaks, range loop semantics, and the goto statement. Understand the assembly output and discover the nuances of looping in Go.

  11. 11
    Article
    Avatar of towardsdevTowards Dev·2y

    Golang 1.22 Unleashes Advanced HTTP Routing: Direct from the Standard Library to Your Production Codebase

    Golang 1.22 introduces advanced HTTP routing features to the standard library, including method-based routing and wildcard URL patterns. These upgrades align Go with top web frameworks like Gorilla/Mux and Gin.

  12. 12
    Article
    Avatar of vladmihalceaVlad Mihalcea·2y

    PostgreSQL Index Types

    This post explores PostgreSQL index types, including B+Tree, Hash, and GIN indexes. It discusses the benefits of using B+Tree indexes for filtering, range scans, and sorting. It explains how Hash indexes are useful for equality checks and saving space. It also explains how GIN indexes can speed up JSON-specific operations. The post concludes by mentioning other index types available in PostgreSQL.

  13. 13
    Article
    Avatar of medium_jsMedium·2y

    Plugins with Go

    Learn how to use Go's standard library to load plugins and expand the functionality of your application. Discover what plugins are, where they are used, and how to implement a plugin loader. Build a plugin-based HTTP redirection service as an example application.

  14. 14
    Article
    Avatar of medium_jsMedium·2y

    Why I’m switching from Go to JavaScript

    The author shares their reasons for switching from Go to JavaScript, including performance, code sharing, and developer availability. They highlight the improvements in JavaScript and the productivity gains they have experienced.

  15. 15
    Article
    Avatar of communityCommunity Picks·2y

    How to build very small Go containers

    Learn how to build small Go containers using scratch and distroless base images. Speed up the build process by using a cache. Use distroless containers to include ca-certificates.

  16. 16
    Article
    Avatar of bitfieldconsultingBitfield Consulting·2y

    Generics in Go — Bitfield Consulting

    This post introduces the concept of generics in Go and discusses the limitations of method sets and interfaces. It also mentions the addition of generics to the Go language.

  17. 17
    Article
    Avatar of lobstersLobsters·2y

    Building an interactive shell in Golang

    Learn how to build an interactive shell in Go using the abiosoft/ishell package. This tutorial covers configuration options, launching the shell, handling predefined commands or free-form input, interrupting execution, and adding shell history and tab completion. Find out the best option for building interactive shells in Go.

  18. 18
    Article
    Avatar of awegoAwesome Go·2y

    What even is “Dependency Injection”? (a practical example using Go)

    Dependency injection allows for substituting implementations of a thing with another implementation. It decouples the service from the dependencies, making it easier to test and switch implementations in the future.