Last active
November 8, 2022 13:43
-
-
Save hernanhrm/f9e85929b5baef6b82fdcca5abff9f1c 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 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