Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

slack sdk change #52

Merged
merged 14 commits into from
Jun 11, 2024
Merged

slack sdk change #52

merged 14 commits into from
Jun 11, 2024

Conversation

ManishaKumari295
Copy link
Contributor

@ManishaKumari295 ManishaKumari295 commented May 30, 2024

Closed #41

Description
Update slack dependent sdk from "github.com/bluele/slack" to "github.com/slack-go/slack" and its related functions in code

Change verification
Added snippet of message sent to slack :
Screenshot 2024-05-30 at 4 20 19 PM

Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
main.go Outdated
@@ -5,10 +5,11 @@ import (
"os"
"strings"

"github.com/bluele/slack"
//"github.com/bluele/slack"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nitpick: commented out code should be removed :)

main.go Outdated
if err != nil {
return fmt.Errorf("Failed to send Slack message: %v", err)
return fmt.Errorf("Failed to send Slack message: %v ", err)
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think you accidentally added an extra white space at the end of the caption.

@fguimond
Copy link

fguimond commented Jun 5, 2024

Aside from a couple of small comments it looks good and should be ready to be merged.

@fguimond fguimond marked this pull request as ready for review June 5, 2024 00:11
Signed-off-by: manisha kumari <manisha.kumari@calsoftinc.com>
Copy link

@fguimond fguimond left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ManishaKumari295 ManishaKumari295 merged commit e6754ac into main Jun 11, 2024
5 checks passed
@boutetnico
Copy link

Please publish on bonsai. 🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Upgrade the Slack SDK
3 participants