Created
January 14, 2022 20:04
-
-
Save AntonStoeckl/2602d0efe849d4d865e4841f69353cdb 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
package commandhandling | |
type Command interface { | |
CommandType() string | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment