+
Skip to content

Change the type assersion for Attr #588

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

Merged
merged 4 commits into from
Mar 23, 2021

Conversation

moritamori
Copy link
Contributor

Attr was changed from xml.Attr to xmlquery.Attr in version 1.3.4, so I changed the type assertions in xmlelement.go.

And also added test for the following codes.
https://github.com/gocolly/colly/blob/master/colly.go#L1140-L1157

Copy link
Member

@asciimoo asciimoo left a comment

Choose a reason for hiding this comment

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

Great, thanks!

@moritamori moritamori force-pushed the adding-tests-for-onxml branch from b42ef1d to aac7c79 Compare February 17, 2021 14:56
@moritamori moritamori force-pushed the adding-tests-for-onxml branch from aac7c79 to ee6c26f Compare February 17, 2021 15:00
@moritamori
Copy link
Contributor Author

conflict resolved

@asciimoo asciimoo merged commit 19b3ce6 into gocolly:master Mar 23, 2021
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.

2 participants
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载