Sign in
go
/
talks
/
dc5a11b2c169ac40c3401581e4161e2fc9efc40e
/
.
/
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