Small doc updates
This commit is contained in:
@ -1,3 +1,4 @@
|
|||||||
|
// keybase/api implements an interface for interacting with the Keybase Chat, Team, and Wallet APIs
|
||||||
package api
|
package api
|
||||||
|
|
||||||
import (
|
import (
|
||||||
@ -45,7 +46,7 @@ func (k Keybase) Username() string {
|
|||||||
return s.Username
|
return s.Username
|
||||||
}
|
}
|
||||||
|
|
||||||
// LoggedIn() returns true if Keybase is currently logged in, otherwise return false.
|
// LoggedIn() returns true if Keybase is currently logged in, otherwise returns false.
|
||||||
func (k Keybase) LoggedIn() bool {
|
func (k Keybase) LoggedIn() bool {
|
||||||
cmd := exec.Command(k.path, "status", "-j")
|
cmd := exec.Command(k.path, "status", "-j")
|
||||||
cmdOut, err := cmd.Output()
|
cmdOut, err := cmd.Output()
|
||||||
|
|||||||
Reference in New Issue
Block a user