This just in! When is a constructor that returns an interface appropriate? 🤔

• Upcoming conferences • 🇯🇵 June 8: Go Conference 2024 (https://gocon.jp/2024/) @ Tokyo, Japan • 🇩🇪 June 17-20: GopherCon EU (https://gophercon.eu/) @ Berlin, Germany • 🇳🇱

• Upcoming conferences • 🇯🇵 June 8: Go Conference 2024 (https://gocon.jp/2024/) @ Tokyo, Japan • 🇩🇪 June 17-20: GopherCon EU (https://gophercon.eu/) @ Berlin, Germany • 🇳🇱 June 19-21: DevOps Days (https://devopsdays.org/events/2024-amsterdam/welcome/) @ Amsterdam, Netherlands • 🇷🇺 June 24-25: Golang Conf 2024 (https://golangconf.ru/2024/) @ St. Petersburg, Russia

• Proposals • 👍 Accepted: go telemetry subcommand (https://go.dev/issue/67111) • Previous discussion on Episode 62 (https://cupogo.dev/episodes/a-quick-tour-of-some-proposals-and-a-long-chat-about-openapi-with-jamie-tanna)

• ⛔ Declined: Notify of new major dependency versions (https://go.dev/issue/40323) • Previous discussion on Episode 62 (https://cupogo.dev/episodes/a-quick-tour-of-some-proposals-and-a-long-chat-about-openapi-with-jamie-tanna)

• 🆕 New: Make math/rand.Seed a no-op (https://github.com/golang/go/issues/67273)

• The unique package has been implemented • ✅ Previous discussion on Episode 33 (https://cupogo.dev/episodes/your-job-is-safe-from-ai-and-interns-interview-with-ian-smith-a-new-way-to-write-go-microservices)

• Around the community • 🤔 Reddit: Is it idiomatic to create a constructor that returns an interface? (https://www.reddit.com/r/golang/comments/1csoyjy/define_an_interface_a_struct_the_implements_that/) • GitHub CLI 2.49.1 (https://github.com/cli/cli/releases/tag/v2.49.1) includes contribution from Shay

★ Support this podcast on Patreon ★ (https://www.patreon.com/user?u=52571196)

Write a comment
No comments yet.