{"action":"created","issue":{"url":"https://api.github.com/repos/extrame/xls/issues/6","repository_url":"https://api.github.com/repos/extrame/xls","labels_url":"https://api.github.com/repos/extrame/xls/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/extrame/xls/issues/6/comments","events_url":"https://api.github.com/repos/extrame/xls/issues/6/events","html_url":"https://github.com/extrame/xls/issues/6","id":142084898,"number":6,"title":"ReadAllCells函数在excel行数比较多的情况","user":{"login":"nladuo","id":13132077,"avatar_url":"https://avatars.githubusercontent.com/u/13132077?v=3","gravatar_id":"","url":"https://api.github.com/users/nladuo","html_url":"https://github.com/nladuo","followers_url":"https://api.github.com/users/nladuo/followers","following_url":"https://api.github.com/users/nladuo/following{/other_user}","gists_url":"https://api.github.com/users/nladuo/gists{/gist_id}","starred_url":"https://api.github.com/users/nladuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nladuo/subscriptions","organizations_url":"https://api.github.com/users/nladuo/orgs","repos_url":"https://api.github.com/users/nladuo/repos","events_url":"https://api.github.com/users/nladuo/events{/privacy}","received_events_url":"https://api.github.com/users/nladuo/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-19T17:37:36Z","updated_at":"2016-05-24T02:23:41Z","closed_at":null,"body":"刚刚试了一下，发现ReadAllCells()的max值设置的比较小的时候，比如说max=100，读取的数据基本是正常的。但是表比较大，有几万行，设置成1万的时候，调用之后发现打印的结果中，前面一点数据正常，后面的几乎每一行的列数据都不完整。\r\n代码大概是这样的：\r\n``` go\r\npackage main\r\n\r\nimport (\r\n\t\"fmt\"\r\n\t\"github.com/extrame/xls\"\r\n)\r\n\r\nfunc main() {\r\n\txlsFile, err := xls.Open(\"./xxx.xls\", \"utf-8\")\r\n\tif err != nil {\r\n\t\tpanic(err)\r\n\t}\r\n\tres := xlsFile.ReadAllCells(10000)\r\n\tfor _, v := range res {\r\n\t\tfmt.Println(v)\r\n\t}\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/extrame/xls/issues/comments/221149632","html_url":"https://github.com/extrame/xls/issues/6#issuecomment-221149632","issue_url":"https://api.github.com/repos/extrame/xls/issues/6","id":221149632,"user":{"login":"extrame","id":2107188,"avatar_url":"https://avatars.githubusercontent.com/u/2107188?v=3","gravatar_id":"","url":"https://api.github.com/users/extrame","html_url":"https://github.com/extrame","followers_url":"https://api.github.com/users/extrame/followers","following_url":"https://api.github.com/users/extrame/following{/other_user}","gists_url":"https://api.github.com/users/extrame/gists{/gist_id}","starred_url":"https://api.github.com/users/extrame/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/extrame/subscriptions","organizations_url":"https://api.github.com/users/extrame/orgs","repos_url":"https://api.github.com/users/extrame/repos","events_url":"https://api.github.com/users/extrame/events{/privacy}","received_events_url":"https://api.github.com/users/extrame/received_events","type":"User","site_admin":false},"created_at":"2016-05-24T02:23:41Z","updated_at":"2016-05-24T02:23:41Z","body":"max值是最大的读取值，所以后面是错的，可以传入sheet.MaxRow，这个值就是最大的行数"}}
{"actor":{"display_login":"extrame"}}