Sign in
go
/
website
/
1e75b26cba0e55a9f61c79dbb46459a4e6ddbd65
/
.
/
_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