patrickmn / go-cache

An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
https://patrickmn.com/projects/go-cache/
MIT License
8.16k stars 874 forks source link

Fix function comments based on best practices from Effective Go #98

Closed AngusReid closed 11 months ago

AngusReid commented 5 years ago

Fix function comments following Effective Go Guidelines

patrickmn commented 5 years ago

I'm ok with changing this, but the changes are inconsistent: You use colons somewhere and "Funcname does a thing" in other places. It should be the latter consistently, right?

Please add yourself to CONTRIBUTORS as well.