Modeling Behavior: Functions, Methods, and Interfaces
摘要
Before architecture scales, behavior must be expressed clearly. This chapter explores how Go models behavior—through functions, methods, structs, and interfaces—and how control flow shapes the decisions your system makes.