Hacker News new | ask | show | jobs
by everybodyknows 278 days ago
Whether to judge the line below idiomatic, or not, is a question I leave to the authorities -- but it is highly convenient, and prints "false".

  slice := []string{}
  fmt.Println(slice == nil)