delve/_fixtures/dotpackagesiface.go
aarzilli 73d636f7d7 tests: rename _fixtures/vendor to _fixtures/internal
Some tests used a fake vendor directory placed inside _fixtures to
import some support packages.
In go.mod mode vendor directory are only supported on the root of the
project, which breaks some of our tests.
Since vendor directories outside the root of the project are so rare
anyway it's possible that a future version of go will stop supporting
it even in GOPATH mode.
Also it was weird and unnecessary in the first place anyawy.
2018-11-06 08:52:06 -08:00

16 lines
323 B
Go

package main
import (
"fmt"
"github.com/derekparker/delve/_fixtures/internal/dir.io"
"github.com/derekparker/delve/_fixtures/internal/dir.io/io.io"
"runtime"
)
func main() {
var iface interface{} = &dirio.SomeType{}
var iface2 interface{} = &ioio.SomeOtherType{}
runtime.Breakpoint()
fmt.Println(iface, iface2)
}