TechGuild
1Level 1, Curious Newcomer

Structs, methods and embedding

Go has methods but no classes, embedding but no inheritance, and a method set rule that decides whether your type satisfies an interface. This lesson covers all three and the silent failure that catches Java developers.

12 min readintermediate

Sign in to read this lesson

This lesson is part of The language, which a free account opens. The orientation module of every course reads without one.

An account is free. There is no paid plan, no tier and nothing to buy.