From 86adb35d6375bc43805e81eed02d3819f4d11894 Mon Sep 17 00:00:00 2001 From: Nicolas Carlier Date: Mon, 30 Oct 2023 23:12:59 -0400 Subject: [PATCH] feat: Fix comments --- examples/interaction-view/main.go | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/examples/interaction-view/main.go b/examples/interaction-view/main.go index 3d628af..4d886af 100644 --- a/examples/interaction-view/main.go +++ b/examples/interaction-view/main.go @@ -96,7 +96,7 @@ func moodCmdHandler(ctx *slacker.CommandContext) { moodSurveyView, ) if err != nil { - log.Printf("ERROR openEscalationModal: %v", err) + fmt.Printf("ERROR openEscalationModal: %v\n", err) } } @@ -111,8 +111,6 @@ func moodViewHandler(ctx *slacker.InteractionContext) { ) } case slack.InteractionTypeViewClosed: - { - fmt.Print("Mood view closed.\n") - } + fmt.Print("Mood view closed.\n") } }