{"action":"opened","issue":{"url":"https://api.github.com/repos/jszwec/csvutil/issues/3","repository_url":"https://api.github.com/repos/jszwec/csvutil","labels_url":"https://api.github.com/repos/jszwec/csvutil/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/jszwec/csvutil/issues/3/comments","events_url":"https://api.github.com/repos/jszwec/csvutil/issues/3/events","html_url":"https://github.com/jszwec/csvutil/issues/3","id":328356052,"node_id":"MDU6SXNzdWUzMjgzNTYwNTI=","number":3,"title":"encoder header editable","user":{"login":"Wishlily","id":27323796,"node_id":"MDQ6VXNlcjI3MzIzNzk2","avatar_url":"https://avatars0.githubusercontent.com/u/27323796?v=4","gravatar_id":"","url":"https://api.github.com/users/Wishlily","html_url":"https://github.com/Wishlily","followers_url":"https://api.github.com/users/Wishlily/followers","following_url":"https://api.github.com/users/Wishlily/following{/other_user}","gists_url":"https://api.github.com/users/Wishlily/gists{/gist_id}","starred_url":"https://api.github.com/users/Wishlily/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wishlily/subscriptions","organizations_url":"https://api.github.com/users/Wishlily/orgs","repos_url":"https://api.github.com/users/Wishlily/repos","events_url":"https://api.github.com/users/Wishlily/events{/privacy}","received_events_url":"https://api.github.com/users/Wishlily/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-06-01T02:11:24Z","updated_at":"2018-06-01T02:11:24Z","closed_at":null,"author_association":"NONE","body":"like `func NewEncoder(w Writer, header ...string) *Encoder`\r\n\r\nFor example, a file is as follows:\r\n\r\n```\r\ntitle1,title2,oldtitle,title3\r\ndata1,data2,olddata,data3\r\n...\r\n```\r\n\r\nmy struct:\r\n\r\n```\r\ntype test struct {\r\n\tT1 string `csv:\"title1\"`\r\n\tT2 string `csv:\"title2\"`\r\n\tT3 string `csv:\"title3\"`\r\n}\r\n```\r\n\r\nI want write new data like this:\r\n\r\n```\r\ntitle1,title2,oldtitle,title3\r\ndata1,data2,olddata,data3\r\nnew1,new2,,new3\r\n```"}}
{"actor":{"display_login":"Wishlily"}}