package core
type MyContext struct {
CurClazz string
CurLine int
}
--------------------------------------------------------------------------------------------------------------
package main
import (
"fmt"
"pkg/core"
)
var us = map[string]core.MyContext
--------------------------------------------------------------------------------
I am new to GoLang. Above code is giving build error "type map[string]core.MyContext is not an expression". Can someone please help?