Sign in
go
/
tour
/
9b24cf3985d245733ea9dc50411c25f0d1ceae9b
/
.
/
content
/
moretypes
/
map-literals.go
blob: 9aca19accf5843ef162e6af0ba70f45ae7f81247 [
file
] [
log
] [
blame
]
// +build OMIT
package main
import "fmt"
type Vertex struct {
Lat, Long float64
}
var m = map[string]Vertex{
"Bell Labs": Vertex{
40.68433, -74.39967,
},
"Google": Vertex{
37.42202, -122.08408,
},
}
func main() {
fmt.Println(m)
}