From 637071a84b6dd25df42b8fa79f31bc73d338c55a Mon Sep 17 00:00:00 2001 From: Michael Muré Date: Wed, 11 Jan 2023 13:28:07 +0100 Subject: make go1.19 fmt happy --- commands/bridge/bridge_new.go | 2 +- commands/select/select.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'commands') diff --git a/commands/bridge/bridge_new.go b/commands/bridge/bridge_new.go index 4cfc903d..2c51d9ef 100644 --- a/commands/bridge/bridge_new.go +++ b/commands/bridge/bridge_new.go @@ -33,7 +33,7 @@ func newBridgeNewCommand() *cobra.Command { cmd := &cobra.Command{ Use: "new", Short: "Configure a new bridge", - Long: ` Configure a new bridge by passing flags or/and using interactive terminal prompts. You can avoid all the terminal prompts by passing all the necessary flags to configure your bridge.`, + Long: "Configure a new bridge by passing flags or/and using interactive terminal prompts. You can avoid all the terminal prompts by passing all the necessary flags to configure your bridge.", Example: `# Interactive example [1]: github [2]: gitlab diff --git a/commands/select/select.go b/commands/select/select.go index b821ba59..694d636a 100644 --- a/commands/select/select.go +++ b/commands/select/select.go @@ -39,10 +39,10 @@ type Resolver[CacheT cache.CacheEntity] interface { // line. If it fails, it falls back to the select mechanism. // // Returns: -// - the entity if any -// - the new list of command line arguments with the entity prefix removed if it -// has been used -// - an error if the process failed +// - the entity if any +// - the new list of command line arguments with the entity prefix removed if it +// has been used +// - an error if the process failed func Resolve[CacheT cache.CacheEntity](repo *cache.RepoCache, typename string, namespace string, resolver Resolver[CacheT], args []string) (CacheT, []string, error) { -- cgit