Golang 使用以下类型:

  1. Method
  2. Bool
  3. String
  4. Array
  5. Slice
  6. Struct
  7. Pointer
  8. Function
  9. Interface
  10. Map
  11. Channel