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:
|
|
// &{}
|