{"action":"closed","issue":{"url":"https://api.github.com/repos/Fa1k3n/resolvconf/issues/4","repository_url":"https://api.github.com/repos/Fa1k3n/resolvconf","labels_url":"https://api.github.com/repos/Fa1k3n/resolvconf/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Fa1k3n/resolvconf/issues/4/comments","events_url":"https://api.github.com/repos/Fa1k3n/resolvconf/issues/4/events","html_url":"https://github.com/Fa1k3n/resolvconf/issues/4","id":278940005,"number":4,"title":"Create and add item at the same time ","user":{"login":"Fa1k3n","id":7572726,"avatar_url":"https://avatars1.githubusercontent.com/u/7572726?v=4","gravatar_id":"","url":"https://api.github.com/users/Fa1k3n","html_url":"https://github.com/Fa1k3n","followers_url":"https://api.github.com/users/Fa1k3n/followers","following_url":"https://api.github.com/users/Fa1k3n/following{/other_user}","gists_url":"https://api.github.com/users/Fa1k3n/gists{/gist_id}","starred_url":"https://api.github.com/users/Fa1k3n/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fa1k3n/subscriptions","organizations_url":"https://api.github.com/users/Fa1k3n/orgs","repos_url":"https://api.github.com/users/Fa1k3n/repos","events_url":"https://api.github.com/users/Fa1k3n/events{/privacy}","received_events_url":"https://api.github.com/users/Fa1k3n/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-12-04T10:15:42Z","updated_at":"2017-12-04T19:32:27Z","closed_at":"2017-12-04T19:32:27Z","author_association":"OWNER","body":"When creating an item today you get the items and an possible error back, then you can use the item to add to the conf\r\n```go\r\nopt, err := resolvconf.NewOption(\"debug\")\r\nerr = conf.Add(opt)\r\n```\r\nthis prevents us from adding options at the same time as they are created and sortof uglifies the interface. I would prefer to be able to do \r\n```go\r\nerr := conf.Add(resolvconf.NewOption(\"debug\"))\r\n```"}}
{"actor":{"display_login":"Fa1k3n"}}