Closed HarshNarayanJha closed 3 months ago
Run the tests using go test -v $(go list ./... | grep crawl)
, or run go test -v
from the crawl
directory.
Don't know why, but go doesn't want to run all the tests from the project root.
Is the implementation alright? Should I go ahead and replace the usages in capture.go
?
Replaced regexep with Trim and Split, and now it also tries to parse URL out of malformed inputs, otherwise just returns empty slice
Removed linkheader dependency and updated capture.go
to use the new Parse
function
Something's preventing the merge? Did I miss anything?
This PR adds a Parse function for linkheader parsing, therefore removing the dependency on
github.com/tomnomnom/linkheader
. This also includes writing unit tests for the functionCloses #85