Get full access to Programming in Go: Creating Applications for the 21st Century and 60K+ other titles, with a free 10-day trial of O'Reilly.
There are also live events, courses curated by job role, and more.
§6.1. Key Concepts 254
§6.2. Custom Types 256
§6.2.1. Adding Methods 258
§6.2.2. Validated Types 263
§6.3. Interfaces 265
§6.3.1. Interface Embedding 270
§6.4. Structs 275
§6.4.1. Struct Aggregation and Embedding ...
Get Programming in Go: Creating Applications for the 21st Century now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.
Get Mark Richards’s Software Architecture Patterns ebook to better understand how to design components—and how they should interact.
Dive in for free with a 10-day trial of the O’Reilly learning platform—then explore all the other resources our members count on to build skills and solve problems every day.