goinaction / code

Source Code for Go In Action examples
4.14k stars 2.38k forks source link

chapter 5: notify method has pointer receiver #161

Closed TamerL closed 10 months ago

TamerL commented 10 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)