Tag

method set

1 views collected around this technical thread.

360 Tech Engineering
360 Tech Engineering
Mar 6, 2020 · Fundamentals

Understanding Method Sets, Interfaces, and Embedding in Go

This article explains Go's method sets, the relationship between method receivers and method sets, how interfaces work, and the role of embedding, providing code examples that illustrate value vs pointer receivers, interface implementation rules, and embedding differences for struct types.

Goembeddinginterface{}
0 likes · 10 min read
Understanding Method Sets, Interfaces, and Embedding in Go
360 Zhihui Cloud Developer
360 Zhihui Cloud Developer
Mar 5, 2020 · Backend Development

Master Go Method Sets, Interfaces, and Embedding: A Deep Dive

This article explains Go's method sets, the relationship between receivers and method sets, how interfaces work, and the nuances of embedding both value and pointer types, providing clear code examples and practical insights for Go developers.

Gobackendembedding
0 likes · 12 min read
Master Go Method Sets, Interfaces, and Embedding: A Deep Dive