• 引用类型,默认值为nil
    • 切片Slice
    • 映射map
    • 函数func
    • 方法(p *P)func
    • 通道channel
  • 指针 默认值为nil
    • pointer
  • 值类型
    • 数组,默认0
    • bool,默认false
    • int,默认0
    • string,默认””
    • float,默认0.0