mirror of
https://github.com/github/codeql.git
synced 2026-01-30 06:42:57 +01:00
Format go test stubs
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
package goxpath
|
||||
|
||||
type Opts struct {}
|
||||
type Opts struct{}
|
||||
type FuncOpts func(*Opts)
|
||||
|
||||
type XPathExec struct {}
|
||||
type XPathExec struct{}
|
||||
|
||||
func Parse(xp string) (XPathExec, error)
|
||||
func MustParse(xp string) XPathExec
|
||||
func ParseExec(xpstr string, t tree.Node, opts ...FuncOpts) (tree.Result, error)
|
||||
func ParseExec(xpstr string, t tree.Node, opts ...FuncOpts) (tree.Result, error)
|
||||
|
||||
3
ql/test/query-tests/Security/CWE-643/vendor/github.com/antchfx/htmlquery/query.go
generated
vendored
3
ql/test/query-tests/Security/CWE-643/vendor/github.com/antchfx/htmlquery/query.go
generated
vendored
@@ -1,7 +1,6 @@
|
||||
package htmlquery
|
||||
|
||||
|
||||
func Find(top *html.Node, expr string) []*html.Node
|
||||
func FindOne(top *html.Node, expr string) *html.Node
|
||||
func QueryAll(top *html.Node, expr string) ([]*html.Node, error)
|
||||
func Query(top *html.Node, expr string) (*html.Node, error)
|
||||
func Query(top *html.Node, expr string) (*html.Node, error)
|
||||
|
||||
2
ql/test/query-tests/Security/CWE-643/vendor/github.com/jbowtie/gokogiri/xml/node.go
generated
vendored
2
ql/test/query-tests/Security/CWE-643/vendor/github.com/jbowtie/gokogiri/xml/node.go
generated
vendored
@@ -5,4 +5,4 @@ type Node interface {
|
||||
SearchWithVariables(interface{}, xpath.VariableScope) ([]Node, error)
|
||||
EvalXPath(interface{}, xpath.VariableScope) (interface{}, error)
|
||||
EvalXPathAsBoolean(interface{}, xpath.VariableScope) bool
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user