Skip to content

Instantly share code, notes, and snippets.

@hernanhrm
Last active November 8, 2022 13:43
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 hernanhrm/f9e85929b5baef6b82fdcca5abff9f1c to your computer and use it in GitHub Desktop.
Save hernanhrm/f9e85929b5baef6b82fdcca5abff9f1c to your computer and use it in GitHub Desktop.
type MRSatan struct{}
func NewMRSatan() *MRSatan {
return &MRSatan{}
}
func (m MRSatan) Kick() {
println("MRSatan kicks")
}
func (m MRSatan) Punch() {
println("MRSatan punches")
}
// The empty method that we want to avoid
func (m MRSatan) Transform() {
// do nothing
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment