package main import "fmt" type Hoge struct { Name string } type Parent interface { hoge(b bool) fuga() } func (p *Hoge) hoge(b bool) { fmt.Println(p.Name) } func fuga(v Parent) { v.hoge(true) } func main() { v := Hoge{"taro"} //fuga(&v) // build error fmt.Println(v) }