-
Notifications
You must be signed in to change notification settings - Fork 15
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
Added support for notification with server version greater than 9 #127
base: oauth_setup
Are you sure you want to change the base?
Conversation
…n-confluence-fork into notification_setup
…n-confluence-fork into notification_setup
…ost-plugin-confluence into notification_setup
@wiggin77 Fixed the comments |
var previousStartToken html.Token | ||
|
||
for { | ||
tt := domDoc.Next() |
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.
Since the only way out of this loop is when a html.ErrorToken is received, are we guaranteed to get this error at some point? There is no EOF token?
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.
Yes, html.ErrorToken
is guaranteed.
html.ErrorToken
is used to indicate an EOF
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 👍 One minor edit and a question.
Summary
Added support for notification with server version greater than 9
Screenshots