{"action":"closed","issue":{"url":"https://api.github.com/repos/golang/go/issues/12033","labels_url":"https://api.github.com/repos/golang/go/issues/12033/labels{/name}","comments_url":"https://api.github.com/repos/golang/go/issues/12033/comments","events_url":"https://api.github.com/repos/golang/go/issues/12033/events","html_url":"https://github.com/golang/go/issues/12033","id":99217425,"number":12033,"title":"text/template: Expose isTrue function","user":{"login":"md5","id":76367,"avatar_url":"https://avatars.githubusercontent.com/u/76367?v=3","gravatar_id":"","url":"https://api.github.com/users/md5","html_url":"https://github.com/md5","followers_url":"https://api.github.com/users/md5/followers","following_url":"https://api.github.com/users/md5/following{/other_user}","gists_url":"https://api.github.com/users/md5/gists{/gist_id}","starred_url":"https://api.github.com/users/md5/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/md5/subscriptions","organizations_url":"https://api.github.com/users/md5/orgs","repos_url":"https://api.github.com/users/md5/repos","events_url":"https://api.github.com/users/md5/events{/privacy}","received_events_url":"https://api.github.com/users/md5/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"robpike","id":4324516,"avatar_url":"https://avatars.githubusercontent.com/u/4324516?v=3","gravatar_id":"","url":"https://api.github.com/users/robpike","html_url":"https://github.com/robpike","followers_url":"https://api.github.com/users/robpike/followers","following_url":"https://api.github.com/users/robpike/following{/other_user}","gists_url":"https://api.github.com/users/robpike/gists{/gist_id}","starred_url":"https://api.github.com/users/robpike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robpike/subscriptions","organizations_url":"https://api.github.com/users/robpike/orgs","repos_url":"https://api.github.com/users/robpike/repos","events_url":"https://api.github.com/users/robpike/events{/privacy}","received_events_url":"https://api.github.com/users/robpike/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/golang/go/milestones/25","html_url":"https://github.com/golang/go/milestones/Go1.6Early","labels_url":"https://api.github.com/repos/golang/go/milestones/25/labels","id":1182837,"number":25,"title":"Go1.6Early","description":"Go 1.6 issues that need to be fixed before the code freeze.\r\n","creator":{"login":"rsc","id":104030,"avatar_url":"https://avatars.githubusercontent.com/u/104030?v=3","gravatar_id":"","url":"https://api.github.com/users/rsc","html_url":"https://github.com/rsc","followers_url":"https://api.github.com/users/rsc/followers","following_url":"https://api.github.com/users/rsc/following{/other_user}","gists_url":"https://api.github.com/users/rsc/gists{/gist_id}","starred_url":"https://api.github.com/users/rsc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rsc/subscriptions","organizations_url":"https://api.github.com/users/rsc/orgs","repos_url":"https://api.github.com/users/rsc/repos","events_url":"https://api.github.com/users/rsc/events{/privacy}","received_events_url":"https://api.github.com/users/rsc/received_events","type":"User","site_admin":false},"open_issues":102,"closed_issues":21,"state":"open","created_at":"2015-06-26T15:47:06Z","updated_at":"2015-09-17T23:08:58Z","due_on":"2015-10-31T04:00:00Z","closed_at":null},"comments":1,"created_at":"2015-08-05T14:30:04Z","updated_at":"2015-09-17T23:08:58Z","closed_at":"2015-09-17T23:08:58Z","body":"It would be great if the `isTrue` function in `text.template` were exposed (cf. https://golang.org/src/text/template/exec.go#L212). This would allow custom template functions to easily use the same semantics for truthiness that `text.template` itself uses for `if`."}}