update module to own version

This commit is contained in:
2020-07-27 18:17:50 +02:00
parent 2441e55972
commit b4ab6497b5
11 changed files with 58 additions and 58 deletions

View File

@@ -165,7 +165,7 @@ func (g *GoFile) checkType(rawType types.Type) bool {
return g.checkType(t.Elem())
case *types.Named:
if t.Obj().Pkg() == nil || t.Obj().Pkg().Path() != "github.com/leonelquinteros/gotext" {
if t.Obj().Pkg() == nil || t.Obj().Pkg().Path() != "git.deineagentur.com/DeineAgenturUG/gotext" {
return false
}
default:
@@ -187,7 +187,7 @@ func (g *GoFile) inspectCallExpr(n *ast.CallExpr) {
// object is a package if the Obj is not set
if e.Obj == nil {
pkg, ok := g.importedPackages[e.Name]
if !ok || pkg.PkgPath != "github.com/leonelquinteros/gotext" {
if !ok || pkg.PkgPath != "git.deineagentur.com/DeineAgenturUG/gotext" {
return
}