Last active
January 14, 2022 20:12
-
-
Save AntonStoeckl/c9e678e6e012767a1c2fe1080895100a to your computer and use it in GitHub Desktop.
Example for blog post Go bits: Interfaces and Nil Pointers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if nilCommand != nil { | |
_ = nilCommand.CommandType() | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment