-- mod/mod.test/three@v1.0.0/go.mod --
module mod.test/three

-- mod/mod.test/three@v1.0.0/inner/inner.go --
package inner

type Interface interface {
  String() string
}

-- mod/mod.test/two@v0.0.2/go.mod --
module mod.test/two

require (
  mod.test/three v1.0.0
)

-- mod/mod.test/two@v0.0.2/struct.go --
package two

import "mod.test/three/inner"

type Interface interface {
  Test() inner.Interface
}

-- app/go.mod --
module app.com

require (
  mod.test/two v0.0.2
)

-- app/hello/hello.go --
package hello

import (
  "mod.test/two"
)

type A struct {
  S two.Interface
}
