package main import ( "log" "testing" ) func TestGetAreaInfo(t *testing.T) { data := map[string]interface{}{ "detail": "北京鑫台华科技有限公司", } res := GetAreaInfo(data) log.Println(res) }