Best of Golang — March 2024
- 1
- 2
- 3
Awesome 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
The 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
- 6
- 7
- 8
- 9
- 10
- 11
Towards 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
Vlad 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
- 14
- 15
- 16
- 17
Lobsters·2yBuilding 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
