I'm very new in Go. I was wondering how do I get value of mappings out of this using Reflection in Go.
type url_mappings struct{
mappings map[string]string
}
func init() {
var url url_mappings
url.mappings = map[string]string{
"url": "/",
"controller": "hello"}
Thanks