{"action":"created","issue":{"url":"https://api.github.com/repos/zhuxiujia/GoMybatis/issues/7","repository_url":"https://api.github.com/repos/zhuxiujia/GoMybatis","labels_url":"https://api.github.com/repos/zhuxiujia/GoMybatis/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/zhuxiujia/GoMybatis/issues/7/comments","events_url":"https://api.github.com/repos/zhuxiujia/GoMybatis/issues/7/events","html_url":"https://github.com/zhuxiujia/GoMybatis/issues/7","id":392021672,"node_id":"MDU6SXNzdWUzOTIwMjE2NzI=","number":7,"title":"数据返回类型不是结构体而是一个map该怎么办","user":{"login":"Arvinxiaoxu","id":22811701,"node_id":"MDQ6VXNlcjIyODExNzAx","avatar_url":"https://avatars1.githubusercontent.com/u/22811701?v=4","gravatar_id":"","url":"https://api.github.com/users/Arvinxiaoxu","html_url":"https://github.com/Arvinxiaoxu","followers_url":"https://api.github.com/users/Arvinxiaoxu/followers","following_url":"https://api.github.com/users/Arvinxiaoxu/following{/other_user}","gists_url":"https://api.github.com/users/Arvinxiaoxu/gists{/gist_id}","starred_url":"https://api.github.com/users/Arvinxiaoxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arvinxiaoxu/subscriptions","organizations_url":"https://api.github.com/users/Arvinxiaoxu/orgs","repos_url":"https://api.github.com/users/Arvinxiaoxu/repos","events_url":"https://api.github.com/users/Arvinxiaoxu/events{/privacy}","received_events_url":"https://api.github.com/users/Arvinxiaoxu/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-18T07:00:24Z","updated_at":"2018-12-19T00:55:37Z","closed_at":null,"author_association":"NONE","body":"数据返回类型如下\r\n[]map[string]interface{}\r\nmap[string]interface{}"},"comment":{"url":"https://api.github.com/repos/zhuxiujia/GoMybatis/issues/comments/448429073","html_url":"https://github.com/zhuxiujia/GoMybatis/issues/7#issuecomment-448429073","issue_url":"https://api.github.com/repos/zhuxiujia/GoMybatis/issues/7","id":448429073,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0ODQyOTA3Mw==","user":{"login":"Arvinxiaoxu","id":22811701,"node_id":"MDQ6VXNlcjIyODExNzAx","avatar_url":"https://avatars1.githubusercontent.com/u/22811701?v=4","gravatar_id":"","url":"https://api.github.com/users/Arvinxiaoxu","html_url":"https://github.com/Arvinxiaoxu","followers_url":"https://api.github.com/users/Arvinxiaoxu/followers","following_url":"https://api.github.com/users/Arvinxiaoxu/following{/other_user}","gists_url":"https://api.github.com/users/Arvinxiaoxu/gists{/gist_id}","starred_url":"https://api.github.com/users/Arvinxiaoxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Arvinxiaoxu/subscriptions","organizations_url":"https://api.github.com/users/Arvinxiaoxu/orgs","repos_url":"https://api.github.com/users/Arvinxiaoxu/repos","events_url":"https://api.github.com/users/Arvinxiaoxu/events{/privacy}","received_events_url":"https://api.github.com/users/Arvinxiaoxu/received_events","type":"User","site_admin":false},"created_at":"2018-12-19T00:55:37Z","updated_at":"2018-12-19T00:55:37Z","author_association":"NONE","body":"查询单条语句返回数据类型map[string]string是正确的，如果返回数据类型是[]map[string][string]执行结果不对，查询不出来数据\r\n**sql语句**\r\n <select id=\"SelectAllMap\">\r\n        select id , name ,age\r\n        from tb_user\r\n    </select>\r\n**函数**\r\nSelectAllMap func()([]map[string]string,error)\r\n**执行结果**\r\n2018/12/19 08:50:24 [GoMybatis] Preparing sql ==>   select id , name ,age        from tb_user\r\n[]\r\n麻烦博主了"}}
{"actor":{"display_login":"Arvinxiaoxu"}}