Debian Codegraph @

_test/binstruct_ptr_map0.go

raw symbols SCIP
1 package main
2
3 import (
4 "fmt"
5 "image"
6 )
7
8 func main() {
9 v := map[string]*image.Point{
10 "foo": {X: 3, Y: 2},
11 "bar": {X: 4, Y: 5},
12 }
13 fmt.Println(v["foo"], v["bar"])
14 }
15
16 // Output:
17 // (3,2) (4,5)