Created
May 30, 2020 14:06
-
-
Save ankur22/b794f0f7fd340a856034928f163827c7 to your computer and use it in GitHub Desktop.
Example of an embedded struct with its own field too
This file contains 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
type loggerAndChecker struct { | |
*logger | |
*checker | |
s string | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment