[Go] Map syntax
Here is how typescript does the same thing
export type Data = {
projector: {
//pwd
[key: string]: {
// key -> value
[key: string]: string,
}
}
}
Here is the go version:
type Data struct {
// [key]value, when serilize string make it lower case projector
Projector map[string]map[string]string `json:"projector"`
}