Get full access to Programming in Go: Creating Applications for the 21st Century and 60K+ other titles, with free 10-day trial of O'Reilly.
There's also live online events, interactive content, certification prep materials, 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 live online training, plus books, videos, and digital content from nearly 200 publishers.
Get Mark Richards’s Software Architecture Patterns ebook to better understand how to design components—and how they should interact.