os/user.User.Username (field)

8 uses

	os/user (current package)
		lookup.go#L33: 	if u, err := Current(); err == nil && u.Username == username {
		user.go#L41: 	Username string
		cgo_lookup_unix.go#L113: 		Username: ( /*line :118:13*/_Cfunc_GoString /*line :118:22*/)(pwd.pw_name),
		listgroups_unix.go#L30: 		return nil, fmt.Errorf("user: list groups for %s: invalid gid %q", u.Username, u.Gid)
		listgroups_unix.go#L33: 	nameC := make([]byte, len(u.Username)+1)
		listgroups_unix.go#L34: 	copy(nameC, u.Username)
		listgroups_unix.go#L42: 		if err := groupRetry(u.Username, nameC, userGID, &gidsC, &n); err != nil {

	src.elv.sh/pkg/edit
		prompt.go#L97: 		username = user.Username