- 博客(1)
- 收藏
- 关注
原创 make和new的区别
// The make built-in function allocates and initializes an object of type // slice, map, or chan (only). Like new, the first argument is a type, not a // value. Unlike new, make's return type is the same as the type of its // argument, not a pointer to it.
2021-09-05 17:22:25 115 1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人