{"action":"created","issue":{"url":"https://api.github.com/repos/hashicorp/consul-template/issues/760","repository_url":"https://api.github.com/repos/hashicorp/consul-template","labels_url":"https://api.github.com/repos/hashicorp/consul-template/issues/760/labels{/name}","comments_url":"https://api.github.com/repos/hashicorp/consul-template/issues/760/comments","events_url":"https://api.github.com/repos/hashicorp/consul-template/issues/760/events","html_url":"https://github.com/hashicorp/consul-template/issues/760","id":184494651,"number":760,"title":"Add support for creating a struct in a template","user":{"login":"bitsofinfo","id":1743646,"avatar_url":"https://avatars.githubusercontent.com/u/1743646?v=3","gravatar_id":"","url":"https://api.github.com/users/bitsofinfo","html_url":"https://github.com/bitsofinfo","followers_url":"https://api.github.com/users/bitsofinfo/followers","following_url":"https://api.github.com/users/bitsofinfo/following{/other_user}","gists_url":"https://api.github.com/users/bitsofinfo/gists{/gist_id}","starred_url":"https://api.github.com/users/bitsofinfo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitsofinfo/subscriptions","organizations_url":"https://api.github.com/users/bitsofinfo/orgs","repos_url":"https://api.github.com/users/bitsofinfo/repos","events_url":"https://api.github.com/users/bitsofinfo/events{/privacy}","received_events_url":"https://api.github.com/users/bitsofinfo/received_events","type":"User","site_admin":false},"labels":[{"id":137505007,"url":"https://api.github.com/repos/hashicorp/consul-template/labels/enhancement","name":"enhancement","color":"d4c5f9","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-21T14:10:08Z","updated_at":"2016-10-28T13:46:09Z","closed_at":null,"body":"I have a need to capture the output of a {{template ..}} call to variable. If some functions were exposed via consul-template when the containing template is processed this might be possible. \r\n\r\nCan you guys please consider adding such a feature?\r\n\r\nhttp://stackoverflow.com/questions/40164896/capture-or-assign-golang-template-output-to-variable"},"comment":{"url":"https://api.github.com/repos/hashicorp/consul-template/issues/comments/256923963","html_url":"https://github.com/hashicorp/consul-template/issues/760#issuecomment-256923963","issue_url":"https://api.github.com/repos/hashicorp/consul-template/issues/760","id":256923963,"user":{"login":"nfedyk","id":223364,"avatar_url":"https://avatars.githubusercontent.com/u/223364?v=3","gravatar_id":"","url":"https://api.github.com/users/nfedyk","html_url":"https://github.com/nfedyk","followers_url":"https://api.github.com/users/nfedyk/followers","following_url":"https://api.github.com/users/nfedyk/following{/other_user}","gists_url":"https://api.github.com/users/nfedyk/gists{/gist_id}","starred_url":"https://api.github.com/users/nfedyk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nfedyk/subscriptions","organizations_url":"https://api.github.com/users/nfedyk/orgs","repos_url":"https://api.github.com/users/nfedyk/repos","events_url":"https://api.github.com/users/nfedyk/events{/privacy}","received_events_url":"https://api.github.com/users/nfedyk/received_events","type":"User","site_admin":false},"created_at":"2016-10-28T13:46:09Z","updated_at":"2016-10-28T13:46:09Z","body":"+1"}}
{"actor":{"display_login":"nfedyk"}}