Skip to content

Instantly share code, notes, and snippets.

@evanpurkhiser
Created October 17, 2017 06:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save evanpurkhiser/4969654ee3b79bf91bdab3af9ebb77fe to your computer and use it in GitHub Desktop.
Save evanpurkhiser/4969654ee3b79bf91bdab3af9ebb77fe to your computer and use it in GitHub Desktop.
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