-
Notifications
You must be signed in to change notification settings - Fork 26
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
slack sdk change #52
Conversation
Signed-off-by: manisha kumari <[email protected]>
Signed-off-by: manisha kumari <[email protected]>
Signed-off-by: manisha kumari <[email protected]>
Signed-off-by: manisha kumari <[email protected]>
Signed-off-by: manisha kumari <[email protected]>
Signed-off-by: manisha kumari <[email protected]>
Signed-off-by: manisha kumari <[email protected]>
Signed-off-by: manisha kumari <[email protected]>
Signed-off-by: manisha kumari <[email protected]>
Signed-off-by: manisha kumari <[email protected]>
Signed-off-by: manisha kumari <[email protected]>
Signed-off-by: manisha kumari <[email protected]>
Signed-off-by: manisha kumari <[email protected]>
main.go
Outdated
@@ -5,10 +5,11 @@ import ( | |||
"os" | |||
"strings" | |||
|
|||
"github.com/bluele/slack" | |||
//"github.com/bluele/slack" |
There was a problem hiding this comment.
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) |
There was a problem hiding this comment.
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.
Aside from a couple of small comments it looks good and should be ready to be merged. |
Signed-off-by: manisha kumari <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Please publish on bonsai. 🙏🏻 |
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 :