Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
everybodyknows
4 months ago
|
parent
|
context
|
favorite
| on:
A new experimental Go API for JSON
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)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: