Sign in
go
/
talks
/
6464dc7d0511e0aae617cf1f350d9eb7fd396481
/
.
/
2012
/
chat
/
support
/
embed.go
blob: b61cb8f381ed29d1b0ea3c519d6b5479db5ad150 [
file
] [
log
] [
blame
]
// +build 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()
}