Best of Golang — April 2024
- 1
- 2
Community Picks·2y
Applying Clean Architecture in Go
Clean Architecture focuses on decoupling code and making it easier to make changes in the future. It separates the application into layers and focuses on the domain model. The implementation of the Blog project using Clean Architecture is described, and the benefits of using this approach are highlighted.
- 3
- 4
The New Stack·2y
Golang 1.22 Redefines the For Loop for Easier Concurrency
Golang 1.22 introduces changes to the for loop for easier concurrency, including improved variable scoping and the ability to range over integers. It also previews a feature that allows users to range over functions as iterators.
- 5
- 6
Awesome Go·2y
Welcome to the Microsoft for Go Developers Blog!
Welcome to the Microsoft for Go Developers Blog! This blog aims to inform users about Microsoft's work on Go, including support on Azure and integration with the Windows environment. Microsoft follows an 'upstream everything' philosophy and encourages collaboration within the open-source community.
- 7
- 8
- 9
Medium·2y
Event-Driven Architecture in Go (golang)
This post explains Event-Driven Architecture using RabbitMQ, Domain-Driven Design, and Clean Architecture. It covers the concepts of events, commands, and actors, and provides code examples in Go (golang) to create events, entities, publishers, DTOs, use cases, controllers, and more. It also demonstrates how to listen to events and execute commands based on them.
- 10
- 11
Awesome Go·2y
From Ground Zero to Production: Go's Journey at Google
This post details the journey of Go's adoption at Google, starting from its early days to becoming one of the top programming languages. It highlights the experiences of an SRE, framework developer, and early adopter, and discusses the challenges faced in integrating Go with Google's internal infrastructure. The post also explores the performance benefits of Go, its production readiness, and its impact on improving engineering efficiency at Google.
- 12
Hacker News·2y
jpillora/chisel: A fast TCP/UDP tunnel over HTTP
Chisel is a fast TCP/UDP tunnel over HTTP, secured via SSH. It provides easy-to-use, performant, and encrypted connections. It allows passing through firewalls and provides a secure endpoint into your network. Chisel is written in Go and can be used for various purposes such as creating tunnel endpoints, reverse port forwarding, and as a reverse proxy.
- 13
- 14
Dreams of Code·2y
Testcontainers have forever changed the way I write tests
The post discusses how the test containers package has improved the author's testing process by automating the deployment of service containers for integration testing. It explains how test containers can reduce flaky tests and highlights some pre-built modules provided by the package.
- 15
Community Picks·2y
There will be only THREE programming languages ? | PR Review [10]
The post discusses the dilemma of choosing between Rust and Go for different programming purposes, emphasizing the importance of selecting a language that fits the project requirements and personal interests. It also highlights the significance of specializing in a language for long-term career growth.
- 16
- 17
Awesome Go·2y
12 Security Tips for Golang Apps - validation, sanitization, auth, CSRF attacks, hashing ++
This post provides 12 security tips for building Golang apps, covering topics such as validating and sanitizing input, authentication, authorization, HTTPS encryption, CSRF protection, dependency management, password hashing, secure configuration, session management, error handling, security audits and penetration testing, and secure deployment.
- 18
Dev Genius·2y
The next level of Golang Error Handling
This post discusses the problems with error handling in Golang and introduces the concepts of lightweight errors and error relation as a solution. It provides examples of implementing error relation and explores alternative implementations for different scenarios.
- 19
- 20