github.com/HaHadaxigua/yaegi@v1.0.1/_test/interface10.go (about) 1 package main 2 3 type Edge interface { 4 ReverseEdge() Edge 5 } 6 7 func main() { 8 println("hello") 9 } 10 11 // Output: 12 // hello