Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PuerkitoBio/goquery
/ functions
Functions
666 in github.com/PuerkitoBio/goquery
⨍
Functions
666
◇
Types & classes
7
↓ 1 callers
Method
RemoveAttr
RemoveAttr removes the named attribute from each element in the set of matched elements.
property.go:32
↓ 1 callers
Method
RemoveFiltered
RemoveFiltered removes from the current set of matched elements those that match the selector filter. It returns the Selection of removed nodes. For
manipulation.go:251
↓ 1 callers
Method
RemoveMatcher
RemoveMatcher removes from the current set of matched elements those that match the Matcher filter. It returns the Selection of removed nodes. See Rem
manipulation.go:258
↓ 1 callers
Function
Render
Render renders the HTML of the first item in the selection and writes it to the writer. It behaves the same as OuterHtml but writes to w instead of re
utilities.go:129
↓ 1 callers
Method
ReplaceWith
ReplaceWith replaces each element in the set of matched elements with the nodes matched by the given selector. It returns the removed elements. This
manipulation.go:267
↓ 1 callers
Method
ReplaceWithMatcher
ReplaceWithMatcher replaces each element in the set of matched elements with the nodes matched by the given Matcher. It returns the removed elements.
manipulation.go:276
↓ 1 callers
Method
SetText
SetText sets the content of each element in the selection to specified content. The provided text string is escaped.
manipulation.go:333
↓ 1 callers
Method
ToggleClass
ToggleClass adds or removes the given class(es) for each element in the set of matched elements. Multiple class names can be specified, separated by a
property.go:182
↓ 1 callers
Method
WrapAll
WrapAll wraps a single HTML structure, matched by the given selector, around all elements in the set of matched elements. The matched child is cloned
manipulation.go:419
↓ 1 callers
Method
WrapAllHtml
WrapAllHtml wraps the given HTML structure around all elements in the set of matched elements. The matched child is cloned before being inserted into
manipulation.go:446
↓ 1 callers
Method
WrapAllMatcher
WrapAllMatcher wraps a single HTML structure, matched by the given Matcher, around all elements in the set of matched elements. The matched child is c
manipulation.go:428
↓ 1 callers
Method
WrapAllNode
WrapAllNode wraps the given node around the first element in the Selection, making all other nodes in the Selection children of the given node. The no
manipulation.go:472
↓ 1 callers
Method
WrapHtml
WrapHtml wraps each element in the set of matched elements inside the inner- most child of the given HTML. It returns the original set of elements.
manipulation.go:384
↓ 1 callers
Method
WrapInnerHtml
WrapInnerHtml wraps an HTML structure, matched by the given selector, around the content of element in the set of matched elements. The matched child
manipulation.go:526
↓ 1 callers
Method
WrapInnerMatcher
WrapInnerMatcher wraps an HTML structure, matched by the given selector, around the content of element in the set of matched elements. The matched chi
manipulation.go:508
↓ 1 callers
Method
WrapMatcher
WrapMatcher wraps each element in the set of matched elements inside the first element matched by the given matcher. The matched child is cloned befor
manipulation.go:367
↓ 1 callers
Method
WrapSelection
WrapSelection wraps each element in the set of matched elements inside the first element in the given Selection. The element is cloned before being in
manipulation.go:376
↓ 1 callers
Function
getFirstChildEl
Get the first child that is an ElementNode
manipulation.go:577
↓ 1 callers
Function
grep
Loop through a selection, returning only those nodes that pass the predicate function.
utilities.go:229
↓ 1 callers
Function
parseHtml
(h string)
manipulation.go:562
↓ 1 callers
Method
textHelper
(n *html.Node, builder *strings.Builder)
property.go:65
Method
AddBackMatcher
AddBackMatcher reduces the previous set of elements on the stack to those that match the matcher, and adds them to the current set. It returns a new S
expand.go:68
Function
BenchmarkAdd
(b *testing.B)
bench_expand_test.go:7
Function
BenchmarkAddClass
(b *testing.B)
bench_property_test.go:53
Function
BenchmarkAddNodes
(b *testing.B)
bench_expand_test.go:44
Function
BenchmarkAddNodesBig
(b *testing.B)
bench_expand_test.go:64
Function
BenchmarkAddSelection
(b *testing.B)
bench_expand_test.go:25
Function
BenchmarkAndSelf
(b *testing.B)
bench_expand_test.go:88
Function
BenchmarkAttr
(b *testing.B)
bench_property_test.go:7
Function
BenchmarkChildren
(b *testing.B)
bench_traversal_test.go:118
Function
BenchmarkChildrenFiltered
(b *testing.B)
bench_traversal_test.go:136
Function
BenchmarkClosest
(b *testing.B)
bench_traversal_test.go:750
Function
BenchmarkClosestNodes
(b *testing.B)
bench_traversal_test.go:787
Function
BenchmarkClosestSelection
(b *testing.B)
bench_traversal_test.go:768
Function
BenchmarkContains
(b *testing.B)
bench_query_test.go:97
Function
BenchmarkContents
(b *testing.B)
bench_traversal_test.go:82
Function
BenchmarkContentsFiltered
(b *testing.B)
bench_traversal_test.go:100
Function
BenchmarkEach
(b *testing.B)
bench_iteration_test.go:8
Function
BenchmarkEachIter
(b *testing.B)
bench_iteration_test.go:28
Function
BenchmarkEachIterWithBreak
(b *testing.B)
bench_iteration_test.go:47
Function
BenchmarkEachWithBreak
(b *testing.B)
bench_iteration_test.go:91
Function
BenchmarkEnd
(b *testing.B)
bench_filter_test.go:241
Function
BenchmarkEq
(b *testing.B)
bench_array_test.go:25
Function
BenchmarkFilter
(b *testing.B)
bench_filter_test.go:9
Function
BenchmarkFilterFunction
(b *testing.B)
bench_filter_test.go:64
Function
BenchmarkFilterNodes
(b *testing.B)
bench_filter_test.go:106
Function
BenchmarkFilterSelection
(b *testing.B)
bench_filter_test.go:146
Function
BenchmarkFind
(b *testing.B)
bench_traversal_test.go:9
Function
BenchmarkFindNodes
(b *testing.B)
bench_traversal_test.go:62
Function
BenchmarkFindSelection
(b *testing.B)
bench_traversal_test.go:43
Function
BenchmarkFindWithinSelection
(b *testing.B)
bench_traversal_test.go:25
Function
BenchmarkFirst
(b *testing.B)
bench_array_test.go:7
Function
BenchmarkGet
(b *testing.B)
bench_array_test.go:51
Function
BenchmarkHas
(b *testing.B)
bench_filter_test.go:184
Function
BenchmarkHasClass
(b *testing.B)
bench_query_test.go:83
Function
BenchmarkHasNodes
(b *testing.B)
bench_filter_test.go:202
Function
BenchmarkHasSelection
(b *testing.B)
bench_filter_test.go:222
Function
BenchmarkHtml
(b *testing.B)
bench_property_test.go:44
Function
BenchmarkIndex
(b *testing.B)
bench_array_test.go:64
Function
BenchmarkIndexOfNode
(b *testing.B)
bench_array_test.go:92
Function
BenchmarkIndexOfSelection
(b *testing.B)
bench_array_test.go:108
Function
BenchmarkIndexSelector
(b *testing.B)
bench_array_test.go:78
Function
BenchmarkIs
(b *testing.B)
bench_query_test.go:7
Function
BenchmarkIsFunction
(b *testing.B)
bench_query_test.go:35
Function
BenchmarkIsNodes
(b *testing.B)
bench_query_test.go:67
Function
BenchmarkIsPositional
(b *testing.B)
bench_query_test.go:21
Function
BenchmarkIsSelection
(b *testing.B)
bench_query_test.go:52
Function
BenchmarkLast
(b *testing.B)
bench_array_test.go:16
Function
BenchmarkLength
(b *testing.B)
bench_property_test.go:30
Function
BenchmarkMap
(b *testing.B)
bench_iteration_test.go:70
Function
BenchmarkMetalReviewExample
(b *testing.B)
bench_example_test.go:10
Function
BenchmarkNext
(b *testing.B)
bench_traversal_test.go:376
Function
BenchmarkNextAll
(b *testing.B)
bench_traversal_test.go:412
Function
BenchmarkNextAllFiltered
(b *testing.B)
bench_traversal_test.go:430
Function
BenchmarkNextFiltered
(b *testing.B)
bench_traversal_test.go:394
Function
BenchmarkNextFilteredUntil
(b *testing.B)
bench_traversal_test.go:636
Function
BenchmarkNextFilteredUntilNodes
(b *testing.B)
bench_traversal_test.go:673
Function
BenchmarkNextFilteredUntilSelection
(b *testing.B)
bench_traversal_test.go:654
Function
BenchmarkNextUntil
(b *testing.B)
bench_traversal_test.go:522
Function
BenchmarkNextUntilNodes
(b *testing.B)
bench_traversal_test.go:559
Function
BenchmarkNextUntilSelection
(b *testing.B)
bench_traversal_test.go:540
Function
BenchmarkNot
(b *testing.B)
bench_filter_test.go:27
Function
BenchmarkNotFunction
(b *testing.B)
bench_filter_test.go:85
Function
BenchmarkNotMatcher
(b *testing.B)
bench_filter_test.go:45
Function
BenchmarkNotNodes
(b *testing.B)
bench_filter_test.go:126
Function
BenchmarkNotSelection
(b *testing.B)
bench_filter_test.go:165
Function
BenchmarkParent
(b *testing.B)
bench_traversal_test.go:154
Function
BenchmarkParentFiltered
(b *testing.B)
bench_traversal_test.go:172
Function
BenchmarkParents
(b *testing.B)
bench_traversal_test.go:190
Function
BenchmarkParentsFiltered
(b *testing.B)
bench_traversal_test.go:208
Function
BenchmarkParentsFilteredUntil
(b *testing.B)
bench_traversal_test.go:283
Function
BenchmarkParentsFilteredUntilNodes
(b *testing.B)
bench_traversal_test.go:320
Function
BenchmarkParentsFilteredUntilSelection
(b *testing.B)
bench_traversal_test.go:301
Function
BenchmarkParentsUntil
(b *testing.B)
bench_traversal_test.go:226
Function
BenchmarkParentsUntilNodes
(b *testing.B)
bench_traversal_test.go:263
Function
BenchmarkParentsUntilSelection
(b *testing.B)
bench_traversal_test.go:244
Function
BenchmarkPrev
(b *testing.B)
bench_traversal_test.go:448
Function
BenchmarkPrevAll
(b *testing.B)
bench_traversal_test.go:486
Function
BenchmarkPrevAllFiltered
(b *testing.B)
bench_traversal_test.go:504
Function
BenchmarkPrevFiltered
(b *testing.B)
bench_traversal_test.go:466
← previous
next →
201–300 of 666, ranked by callers