From 730ab6115cffb3849694de9263becf35b08aba60 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20Mur=C3=A9?= Date: Mon, 1 May 2017 21:54:24 +0900 Subject: [PATCH] fix fmt and exported var that shouldn't be MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit License: MIT Signed-off-by: Michael Muré --- core/commands/keystore.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/commands/keystore.go b/core/commands/keystore.go index b47faf02b..6e8ad59fa 100644 --- a/core/commands/keystore.go +++ b/core/commands/keystore.go @@ -33,9 +33,9 @@ var KeyCmd = &cmds.Command{ `, }, Subcommands: map[string]*cmds.Command{ - "gen": KeyGenCmd, - "list": KeyListCmd, - "rm": KeyRmCmd, + "gen": keyGenCmd, + "list": keyListCmd, + "rm": keyRmCmd, }, } @@ -48,7 +48,7 @@ type KeyOutputList struct { Keys []KeyOutput } -var KeyGenCmd = &cmds.Command{ +var keyGenCmd = &cmds.Command{ Helptext: cmds.HelpText{ Tagline: "Create a new keypair", }, @@ -151,7 +151,7 @@ var KeyGenCmd = &cmds.Command{ Type: KeyOutput{}, } -var KeyListCmd = &cmds.Command{ +var keyListCmd = &cmds.Command{ Helptext: cmds.HelpText{ Tagline: "List all local keypairs", }, @@ -203,7 +203,7 @@ var KeyListCmd = &cmds.Command{ Type: KeyOutputList{}, } -var KeyRmCmd = &cmds.Command{ +var keyRmCmd = &cmds.Command{ Helptext: cmds.HelpText{ Tagline: "Remove a keypair", },