如何在golang中将map [string]接口转换为map [string] string [重复]

I get the below data from an external api which is being saved into the below data

var Config map[string]interface{}

var a interface{}

a = {"a": "b",
      "api":{
          "host": "https://api",
          "endpoint": "p1",
          "class": "class1"
      }
      }
Config = a.(map[string]interface{})

I am trying to get the details of the host, endpoint from the api. I don't want to use the struct as the api gives large JSON data which needs to be parsed.

</div>