Sign in
go
/
website
/
eed5cfb0c7b9187f8a31c7cc73d91f5e65571988
/
.
/
_content
/
talks
/
2012
/
chat
/
support
/
embed.go
blob: fdecb210b1501de81bba763840617c04a4f1aaf0 [
file
] [
log
] [
blame
]
// +build ignore,OMIT
package main
import "fmt"
type A struct{}
func (A) Hello() {
fmt.Println("Hello!")
}
type B struct {
A
}
// func (b B) Hello() { b.A.Hello() } // (implicitly!)
func main() {
var b B
b.Hello()
}