Sign in
go
/
website
/
05846d222a059c88110d400e023016e03faad97e
/
.
/
_content
/
talks
/
2014
/
compiling
/
name2.go
blob: 9a8a7fbf11790e5730844086966362cadfe197ae [
file
] [
log
] [
blame
]
// +build ignore
package main
import "fmt"
// 2 START OMIT
// 1 START OMIT
func main() {
i := 1
f := func() T {
return T{
i: 1,
// HL
}
}
fmt.Println(i, f())
}
// 1 END OMIT
type T struct{ i int }
// 2 END OMIT