diff options
author | Thomas Boerger <thomas@webhippie.de> | 2016-11-24 11:33:47 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-24 11:33:47 +0100 |
commit | 2ccdcda0720c935f5db2b9a4fbd072fbc47ebb02 (patch) | |
tree | d7c35a3561e67c9b6dadb35e4c1d96e536061343 /modules | |
parent | 0a66c2a2d96d989096876c51f05f6230c593bec2 (diff) | |
parent | 46ecb0a14d6e4f0e8fb1d312133a14fe2f295aed (diff) | |
download | gitea-2ccdcda0720c935f5db2b9a4fbd072fbc47ebb02.tar.gz gitea-2ccdcda0720c935f5db2b9a4fbd072fbc47ebb02.zip |
Merge pull request #235 from lunny/lunny/golint_modules_user
golint fixed for modules/user
Diffstat (limited to 'modules')
-rw-r--r-- | modules/user/user.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/user.go b/modules/user/user.go index 972629eae3..b9911e6f52 100644 --- a/modules/user/user.go +++ b/modules/user/user.go @@ -6,6 +6,7 @@ package user import "os" +// CurrentUsername return current login OS user name func CurrentUsername() string { curUserName := os.Getenv("USER") if len(curUserName) > 0 { |