Created
October 17, 2017 06:36
-
-
Save evanpurkhiser/4969654ee3b79bf91bdab3af9ebb77fe 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
struct CircutBreakerDB { | |
db.NormalDbInterface // Whatever this is actually called, the interface | |
} | |
func (db *CircutBreakerDB) MethodYourOverriding(whatever args) { | |
db.NormalDbInterface.MethodYourOverriding(...) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment