Sign in
go
/
website
/
44086c137c450561de992096ac32ac81752fefa9
/
.
/
_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