It could be a beginner's question. Code is like,
type MYMAP map[int]int
func (o *MYMAP) dosth(){
//this will fail to compile
o[1]=2
}
error message: invalid operation: o[1] (index of type *MYMAP)
How to access the underlying type of MYMAP as map?