Go 如何解析 json 內部結構不確定的情況
com/mitchellh/mapstructure開始使用前,先定義 map 將轉化的 struct 結構,即 blog 結構體,如下:type Blog struct { BlogId string `mapstructure:“blo...
com/mitchellh/mapstructure開始使用前,先定義 map 將轉化的 struct 結構,即 blog 結構體,如下:type Blog struct { BlogId string `mapstructure:“blo...