Registry / config / jackc-pgservicefile

jackc-pgservicefile

JSON →
library0.0.0-20240606120523-5a60cdf6a761gogounverified

Package pgservicefile is a parser for PostgreSQL service files (e.g. .pg_service.conf).

go get github.com/jackc/pgservicefile
INSTALL
IMPORT
SIG · JACKC-PGSERVICEFIL
J
jackc-pgservicefile
configgov0.0.0-20240606120523-5a60cdf6a761
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.

pgservicefile
github.com/jackc/pgservicefile

Parse a PostgreSQL service file and print the services.

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

No known issues recorded.

Upgrade
Version history
0.0.0-20240606120523-5a60cdf6a761latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

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