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