github.com/jackc/pgpassfile.Passfile.FindPassword (method)
2 uses
github.com/jackc/pgpassfile (current package)
pgpass.go#L100: func (pf *Passfile) FindPassword(hostname, port, database, username string) (password string) {
github.com/jackc/pgx/v5/pgconn
config.go#L434: config.Password = passfile.FindPassword(host, strconv.Itoa(int(config.Port)), config.Database, config.User)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)