Sign in
go
/
website
/
277b202ae2a6edfa32080b5a38ec48bea6fbdf25
/
.
/
_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() {}