1
0
mirror of https://github.com/golang/go synced 2024-11-23 18:50:05 -07:00

os: use same link in UserCacheDir/UserConfigDir doc

Change-Id: I94c385243c37589f56aadaa30336b400adf31308
Reviewed-on: https://go-review.googlesource.com/c/go/+/234959
Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
matsuyoshi 2020-05-23 16:23:04 +09:00 committed by Ian Lance Taylor
parent b68fa57c59
commit 8194187a2d

View File

@ -384,7 +384,7 @@ func TempDir() string {
// within this one and use that. // within this one and use that.
// //
// On Unix systems, it returns $XDG_CACHE_HOME as specified by // On Unix systems, it returns $XDG_CACHE_HOME as specified by
// https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html if // https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html if
// non-empty, else $HOME/.cache. // non-empty, else $HOME/.cache.
// On Darwin, it returns $HOME/Library/Caches. // On Darwin, it returns $HOME/Library/Caches.
// On Windows, it returns %LocalAppData%. // On Windows, it returns %LocalAppData%.