mirror of
https://github.com/github/codeql.git
synced 2026-04-27 01:35:13 +02:00
Add more import paths for xmlpath
This commit is contained in:
@@ -5,6 +5,11 @@ extensions:
|
||||
data:
|
||||
- ["xmlpath", "gopkg.in/xmlpath"]
|
||||
- ["xmlpath", "github.com/go-xmlpath/xmlpath"]
|
||||
- ["xmlpath", "github.com/crankycoder/xmlpath"]
|
||||
- ["xmlpath", "launchpad.net/xmlpath"]
|
||||
- ["xmlpath", "github.com/masterzen/xmlpath"]
|
||||
- ["xmlpath", "github.com/going/toolkit/xmlpath"]
|
||||
- ["xmlpath", "gopkg.in/go-xmlpath/xmlpath"]
|
||||
- addsTo:
|
||||
pack: codeql/go-all
|
||||
extensible: sinkModel
|
||||
|
||||
@@ -43,6 +43,11 @@ deprecated module XmlPath {
|
||||
* Gets the package name `github.com/go-xmlpath/xmlpath` or `gopkg.in/xmlpath`.
|
||||
*/
|
||||
deprecated string packagePath() {
|
||||
result = package(["github.com/go-xmlpath/xmlpath", "gopkg.in/xmlpath"], "")
|
||||
result =
|
||||
package([
|
||||
"github.com/go-xmlpath/xmlpath", "gopkg.in/xmlpath", "github.com/crankycoder/xmlpath",
|
||||
"launchpad.net/xmlpath", "github.com/masterzen/xmlpath",
|
||||
"github.com/going/toolkit/xmlpath", "gopkg.in/go-xmlpath/xmlpath"
|
||||
], "")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user