Sign in
go
/
website
/
b4564f4a8ce1a51d6c3e3c2571a1122924d525c7
/
.
/
_content
/
tour
/
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)
}