From d04c10ae70669a67fbb3fee33ba7ca17948831a1 Mon Sep 17 00:00:00 2001 From: Sam Date: Mon, 23 Sep 2019 00:47:14 -0400 Subject: [PATCH] Add NewWallet() method --- keybase.go | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/keybase.go b/keybase.go index 4e1e2d3..31dc50d 100644 --- a/keybase.go +++ b/keybase.go @@ -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. func (k *Keybase) username() string { cmdOut, err := k.Exec("status", "-j")