This is a simple implementation for reading a .netrc file for a user's credentials for services
$ go get github.com/Keithbsmiley/netrc
The add it to your import
import (
"github.com/Keithbsmiley/netrc"
)
At the moment this library still has some major feature omissions. Such
as setting new credentials in the user's netrc. I plan on adding these
soon and I will write a better usage guide then. For now most of the
methods are commented
and you can view netrc_test
to see some of the method calls.