Last active
February 14, 2022 19:31
-
-
Save jcdan3/eabc7be91e90ad5e413bd079c116fca8 to your computer and use it in GitHub Desktop.
Go fmt
This file contains hidden or 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
package notifier | |
import "fmt" | |
type notifier struct { | |
name string | |
id int | |
} | |
func (n *notifier ) notify(){ | |
fmt.Println("Receiving notification from " + n.name) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment