Files
Gogs/internal
bibo38 252d0fd977 osutil: use system API to get the username when env vars are empty (#6246)
As Golang supports getting usernames via the standard library, this function
is now used to get the username if the environment variables are empty.
Using the standard library as a fallback is intended to keep compability
to existing implementations that rely on the environment variables dictating
the current username.
2020-08-19 21:17:16 +08:00
..
2020-06-08 11:08:27 +08:00
2020-08-16 21:31:08 +08:00
2020-01-29 19:36:57 +08:00
2020-02-19 23:45:02 +08:00