A saner way to use mutex in Golang, using generics | Hacker News Reader