Sign in
go
/
website
/
8683462de3f38a2ec876b4ca5699d91d2e34a97d
/
.
/
_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)
}