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