Skip to main content

Golang CheatSheet

Zero Values

  • integer: 0
  • float: 0.0
  • boolean: false
  • strings: ""
  • channel, map, slice, pointer, function, interface: nil