Go Nil
Jump to navigation
Jump to search
Internal
Overview
nil
is the Go pre-declared zero value.
nil Test
if v == nil {
// ...
}
if v != nil {
// ...
}
nil
is the Go pre-declared zero value.
if v == nil {
// ...
}
if v != nil {
// ...
}