Created
March 7, 2018 20:14
-
-
Save kourge/7346dcb182fcf02796a4a08648b21303 to your computer and use it in GitHub Desktop.
Go: check at compile time if struct S conforms to interface I
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
var _ I = S{} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment