talk-data.com
Meetup
talk
2025-09-17 at 19:50
Return to Sender: Why Your Go Packages Keep Getting Lost
Event:
September Gophers @ Dojo!
Topics
Description
By default, Go auto-aliases your imports i.e you reference only the last part of the import path /internal/service/payment -> payment package and you can end up with a lot of packages having the same label. This talk goes through some of the iterations I went through, the tradeoffs, some references I looked at (stdlib + kubernetes) and where I'm currently at, I think I've got something pretty good with some extra hidden benefits.