Sign in
go
/
website
/
7b9aa998daa093e32ba52549924a0927f5879d3f
/
.
/
_content
/
talks
/
2015
/
tricks
/
repeated.go
blob: 88fec4082b6fb2cb3261a659cddad89cb305c02d [
file
] [
log
] [
blame
]
// +build ignore
package main
// BEGIN OMIT
type Foo struct {
i int
s string
}
var s = []Foo{
{6 * 9, "Question"},
{42, "Answer"},
}
var m = map[int]Foo{
7: {6 * 9, "Question"},
3: {42, "Answer"},
}
// END OMIT
func main() {}