Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

How Do You Structure Your Go Apps

Gopher Academy via YouTube

Overview

Coursera Flash Sale
40% Off Coursera Plus for 3 Months!
Grab it
Explore effective Go application structuring techniques in this GopherCon 2018 talk by Kat Zien. Learn about common design patterns and best practices for organizing Go code, including file and package organization, object-oriented approaches in Go, and the advantages of using a cmd directory. Discover how to create testable, maintainable, and easily understandable projects through various structuring methods such as flat structure, domain-driven development, and hexagonal architecture. Gain insights into grouping by context, implementing frameworks, and proper naming conventions. Use a beer reviewing service as a practical example to illustrate different structuring approaches. Enhance your Go programming skills and make informed decisions about code organization for your next project.

Syllabus

Intro
QUESTIONS. DECISIONS
A BEER REVIEWING SERVICE
FLAT STRUCTURE
DOMAIN DRIVEN DEVELOPMENT DDD
GROUP BY CONTEXT
HEXAGONAL ARCHITECTURE
FRAMEWORKS
TESTING
NAMINS
CONCLUSION
QUESTIONS? LINKS

Taught by

Gopher Academy

Reviews

Start your review of How Do You Structure Your Go Apps

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.