We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
简而言之:new主要是分配内存空间。然而make主要是初始化切片、map、通道类型。
new
make
relevant section of Effective Go查看更多地细节。