golint fixed for modules/user

tokarchuk/v1.17
Lunny Xiao 8 years ago
parent 6ed7f269f1
commit 46ecb0a14d
  1. 1
      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 {

Loading…
Cancel
Save