Browse Source

golint fixed for modules/user

Lunny Xiao 2 years ago
parent
commit
46ecb0a14d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      modules/user/user.go

+ 1 - 0
modules/user/user.go

@@ -6,6 +6,7 @@ package user
6 6
 
7 7
 import "os"
8 8
 
9
+// CurrentUsername return current login OS user name
9 10
 func CurrentUsername() string {
10 11
 	curUserName := os.Getenv("USER")
11 12
 	if len(curUserName) > 0 {