{"action":"opened","issue":{"url":"https://api.github.com/repos/mitchellh/mapstructure/issues/29","labels_url":"https://api.github.com/repos/mitchellh/mapstructure/issues/29/labels{/name}","comments_url":"https://api.github.com/repos/mitchellh/mapstructure/issues/29/comments","events_url":"https://api.github.com/repos/mitchellh/mapstructure/issues/29/events","html_url":"https://github.com/mitchellh/mapstructure/issues/29","id":73193326,"number":29,"title":"Handle time.Time?","user":{"login":"clarktlaugh","id":2455137,"avatar_url":"https://avatars.githubusercontent.com/u/2455137?v=3","gravatar_id":"","url":"https://api.github.com/users/clarktlaugh","html_url":"https://github.com/clarktlaugh","followers_url":"https://api.github.com/users/clarktlaugh/followers","following_url":"https://api.github.com/users/clarktlaugh/following{/other_user}","gists_url":"https://api.github.com/users/clarktlaugh/gists{/gist_id}","starred_url":"https://api.github.com/users/clarktlaugh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/clarktlaugh/subscriptions","organizations_url":"https://api.github.com/users/clarktlaugh/orgs","repos_url":"https://api.github.com/users/clarktlaugh/repos","events_url":"https://api.github.com/users/clarktlaugh/events{/privacy}","received_events_url":"https://api.github.com/users/clarktlaugh/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-05-05T03:33:10Z","updated_at":"2015-05-05T03:33:10Z","closed_at":null,"body":"I have a structure like this:\r\n\r\n`type TestEntry struct {\r\n        Id string         `json:\"id\" mapstructure:\"id\"`\r\n        MemberId string\r\n        Present bool\r\n        Date time.Time\r\n        Type string\r\n}`\r\n\r\nAnd a map[string]interface{} like this that I am trying to map to the structure:\r\n\r\n`map[string]interface {}{\"Present\":true, \"Type\":\"Other\", \"id\":\"342358db-4e66-4e39-a452-75859097bc39\", \"Date\":time.Time{sec:63566170074, nsec:619999885, loc:(*time.Location)(0xc208030840)}, \"MemberId\":\"81b3d896-4314-4078-aa00-a27782bc00b4\"}`\r\n\r\nWhen I try to decode, I get the following error:\r\n* 'Date' expected a map, got 'struct'\r\n\r\nAny suggestions?"}}