Last active
August 8, 2021 10:28
-
-
Save BWbwchen/c808aebf2798b486f365383286a93646 to your computer and use it in GitHub Desktop.
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 TestStruct struct { | |
Interger int | |
String string | |
Bool bool | |
SomeWeirdInterface interface{} | |
OtherStruct // we call it embedded field | |
} | |
type OtherStruct struct { | |
Hello string | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment