Registry / config / jdxcode-netrc

jdxcode-netrc

JSON →
library1.0.0gogounverified

Package netrc provides parsing and handling of .netrc files for authentication.

go get github.com/jdxcode/netrc
INSTALL
IMPORT
SIG · JDXCODE-NETRC
J
jdxcode-netrc
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.

netrc
github.com/jdxcode/netrc

Parse and access .netrc credentials

package main import ( "fmt" "github.com/jdxcode/netrc" ) func main() { n, err := netrc.ParseFile("~/.netrc") if err != nil { panic(err) } fmt.Println(n.Machine("example.com")) }
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
31 hits · last 30 days
node
28
Resources
jdxcode-netrc — go get jdxcode-netrc · libregistry