os/user: godoc for Current does not mention caching #27659
Labels
Documentation
Issues describing a change to documentation.
FrozenDueToAge
NeedsFix
The path to resolution is known, but the work has not been done.
Suggested
Issues that may be good for new contributors looking for work to do.
Milestone
What version of Go are you using (
go version
)?go version go1.10.1 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (
go env
)?What did you do?
godoc for user/os has
There is no mention that caching is used... so if I run code looking at user.Current() around a uid change I see unexpected results:
What did you expect to see?
godoc for user os mentions caching, e.g.
The text was updated successfully, but these errors were encountered: