os/user.User.HomeDir (field)
11 uses
os/user (current package)
user.go#L50: HomeDir string
cgo_lookup_unix.go#L115: HomeDir: ( /*line :120:13*/_Cfunc_GoString /*line :120:22*/)(pwd.pw_dir),
github.com/go-git/go-git/v5/plumbing/format/gitignore
dir.go#L124: return loadPatterns(fs, fs.Join(usr.HomeDir, gitconfigFile))
github.com/jackc/pgconn
defaults.go#L23: settings["passfile"] = filepath.Join(user.HomeDir, ".pgpass")
defaults.go#L24: settings["servicefile"] = filepath.Join(user.HomeDir, ".pg_service.conf")
github.com/kevinburke/ssh_config
config.go#L68: return user.HomeDir
github.com/lib/pq
conn.go#L192: userHome = user.HomeDir
ssl.go#L96: sslcert = filepath.Join(user.HomeDir, ".postgresql", "postgresql.crt")
ssl.go#L114: sslkey = filepath.Join(user.HomeDir, ".postgresql", "postgresql.key")
golang.org/x/oauth2/google
sdk.go#L198: return u.HomeDir
google.golang.org/api/transport/cert
default_cert.go#L68: filename := filepath.Join(user.HomeDir, metadataPath, metadataFile)
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |