Add NewWallet() method

This commit is contained in:
Sam
2019-09-23 00:47:14 -04:00
parent f3a507b8a8
commit d04c10ae70

View File

@ -58,6 +58,13 @@ func (k *Keybase) NewTeam(name string) Team {
} }
} }
// NewWallet returns a new Wallet instance
func (k *Keybase) NewWallet() Wallet {
return Wallet{
keybase: k,
}
}
// username returns the username of the currently logged-in Keybase user. // username returns the username of the currently logged-in Keybase user.
func (k *Keybase) username() string { func (k *Keybase) username() string {
cmdOut, err := k.Exec("status", "-j") cmdOut, err := k.Exec("status", "-j")