package main
import “fmt”
var testMap = map[string]map[string]struct { Name string }{ “first”: {“second”: {Name: “12312”}}, “second”: {“second”: {“12312”}}, }
func main() { d := testMap[“first”][“second”].Name fmt.Printf("++-%v-++\n", d)
c := testMap["first22"]["second"].Name
fmt.Printf("++-%v-++\n", c)
}title: 2021-04-21
Socket