Registry / config / jackc-pgpassfile

jackc-pgpassfile

JSON →
library1.0.0gogounverified

Package pgpassfile is a parser for PostgreSQL .pgpass files.

go get github.com/jackc/pgpassfile
INSTALL
IMPORT
SIG · JACKC-PGPASSFILE
J
jackc-pgpassfile
configgov1.0.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pgpassfile
github.com/jackc/pgpassfile

Parse a .pgpass file and print the entries.

package main import ( "fmt" "github.com/jackc/pgpassfile" ) func main() { passwords, err := pgpassfile.ParseFile(".pgpass") if err != nil { panic(err) } fmt.Printf("%+v\n", passwords) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.0.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
70 hits · last 30 days
node
68
Resources
jackc-pgpassfile — go get jackc-pgpassfile · libregistry