Java OpenResty Spring Spring Boot MySQL Redis MongoDB PostgreSQL Linux Android Nginx 面试 小程序 Arthas JVM AQS juc Kubernetes Docker 诊断工具


Go 何时使用 new 和 make

Go 大约 74 字

make

  • slice:切片
  • map:映射
  • chan:通道

new

  • array:数组
  • struct:结构体
  • 所有值类型:intfloat
阅读 1258 · 发布于 2020-10-29

————        END        ————

Give me a Star, Thanks:)

https://github.com/fendoudebb

扫描下方二维码关注公众号和小程序↓↓↓

扫描二维码关注我
昵称:
随便看看 换一批