20min chapter

Changelog Master Feed cover image

How Mat writes HTTP services in Go (Go Time #322)

Changelog Master Feed

CHAPTER

Go HTTP Service Refactor and Route Structuring

The chapter delves into the refresh of an HTTP service in Go, detailing the changes in the approach, including switching to HTTP handler interface. It discusses structuring server constructors, managing dependencies, and the debate between long argument lists and functional options pattern. The speakers explore organizing routes in a centralized manner for better API understanding, navigating code efficiently, and utilizing the standard library for routing improvements.

00:00

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode