mirror of
https://github.com/traefik/yaegi.git
synced 2026-06-01 18:37:56 +00:00
19 lines
166 B
Go
19 lines
166 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
)
|
|
|
|
type Hello struct{}
|
|
|
|
func (*Hello) Hi() string {
|
|
panic("implement me")
|
|
}
|
|
|
|
func main() {
|
|
fmt.Println(&Hello{})
|
|
}
|
|
|
|
// Output:
|
|
// &{}
|