Skip to content

Commit

Permalink
refactor: do refactor for public api
Browse files Browse the repository at this point in the history
RewriterBuilder and Selector are hidden from public usage.

Introduced new methods of adding handlers.

also refactor corresponding tests.

still needs clean-up.
  • Loading branch information
CoolSpring8 committed Oct 26, 2020
1 parent e8c343b commit 513b957
Show file tree
Hide file tree
Showing 3 changed files with 336 additions and 314 deletions.
1 change: 1 addition & 0 deletions export_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@ package lolhtml
// export some internal functions for test

var GetError = getError
var NewSelector = newSelector
Loading

0 comments on commit 513b957

Please sign in to comment.