Comment

Comment by celestino_127

In Golang, interfaces are used to circumvent that feature. There is no inheritance, instead Gophers use interfaces in code to share functionality between structs.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton