Go Nil: Difference between revisions
Jump to navigation
Jump to search
(Created page with "=Internal= * Go Language =Overview=") |
|||
Line 2: | Line 2: | ||
* [[Go Language]] | * [[Go Language]] | ||
=Overview= | =Overview= | ||
=<tt>nil</tt> Test= | |||
<syntaxhighlight lang='go'> | |||
if v == nil { | |||
// ... | |||
} | |||
if v != nil { | |||
// ... | |||
} | |||
</syntaxhighlight> |