How to decouple infrastructure layer from inner layers (domain and service) in golang?

Related Stories

golang and aws cloudwatch logs

Monad `Result` in Golang and `try` pattern to error handling for simplicity and shortness without `if err == nil`

manga website api backend in golang

Beginner at Golang, what should I keep in mind to be a job ready.

Monad `Result` in Golang and `try` pattern for error handling with simplicity and shortness without `if err != nil`

The logging module is from 2002. Here's how to use it in 2025

Critique my golang product :)

How does calling Go from C work?

Golang Benchmark DataBase Select Query With Join in Differente Libraries

how to pass cli args from package.json, script prop?

What is the point of Golang?

Memory used by golang's interfaces

How to do type erasure in Zig?

how to modify instructions in clang/gcc?

How to install dependencies locally?

how to decode a cookie

How to get App Data Path in Tauri?

Distributed File system from scratch in Go

How do you discover Go projects to contribute to?

How to work through an existing project?

Golang engine with SPSS statistics like syntax for dataframe wrangling

100 Go Mistakes and How to Avoid Them. Issue with #32: Ignoring the impact of using pointer elements in range loops. Author's possible mistake

You can launch any idea as python website on production domain in minutes - You don’t need anything.

domain-check v0.5.1: Now available on Homebrew + Major Documentation Overhaul

Newbie - When to return adress and have a pointer in the argument here?

Conversion from NodeJs to Rust

Built a Golang CLI tool for web reconnaissance – looking for feedback

how to get a job

For anyone who's read Let's Go and Let's Go Further by Alex Edwards. How in-depth are those books?

How I Used ChatGPT + Python to Build a Functional Web Scraper in 2025