碰到type interface {} does not support indexing,其实第一反应应该是使用正确的断言。
假设变量a的类型是map [string] interface {}并存在:a["test"] = 1那么如何在返回后[……]
碰到type interface {} does not support indexing,其实第一反应应该是使用正确的断言。
假设变量a的类型是map [string] interface {}并存在:a["test"] = 1那么如何在返回后[……]