A bug in Golang code
Weless opened this issue · comments
position: golang/Chapter02/model/client.go UpdateToken method
line35 r.Conn.HSet("viewed:"+token, item, timestamp)
it should be r.Conn.ZAdd(...)
Thank you for the report, will update soon.
Finally had time to look at and fix, thank you for the bug report.