How to Structure a Golang Project

Benjamin Cane
5 min readJun 1, 2022
Photo by Ricardo Gomez Angel on Unsplash

A while back (2020), I published an article on How to Structure a Go Command-Line Project. Within that article, I stated that while there are many recommendations on structuring Go Projects, there is no set standard.

The lack of a standard causes many new Gophers to question the best way to structure a project, A question I still see to this today.

Benjamin Cane

Building payments systems at American Express. Author ( Open-source contributor (