goinaction / code

Source Code for Go In Action examples
4.12k stars 2.36k forks source link

chapter 5: notify method has pointer receiver #161

Closed TamerL closed 7 months ago

TamerL commented 7 months ago

Hi codeowners, Can you please review this PR, this is to fix the error in ./listing36.go:32: cannot use u (type user) as type notifier in argument to sendNotification: user does not implement notifier (notify method has pointer receiver)