Closed markelog closed 7 years ago
Currently, you can put anything in the context. Which was allowed after the fix for this issue. But it will type assert any value to a string nevertheless.
I propose to allow to retrieve an interface instead. Which would be a breaking change
@markelog context.GetAny() exists for this purpose: https://godoc.org/github.com/gocolly/colly#Context.GetAny
context.GetAny()
I see, thanks, missed that one
Currently, you can put anything in the context. Which was allowed after the fix for this issue. But it will type assert any value to a string nevertheless.
I propose to allow to retrieve an interface instead. Which would be a breaking change