{"action":"closed","issue":{"url":"https://api.github.com/repos/wantedly/apig/issues/84","repository_url":"https://api.github.com/repos/wantedly/apig","labels_url":"https://api.github.com/repos/wantedly/apig/issues/84/labels{/name}","comments_url":"https://api.github.com/repos/wantedly/apig/issues/84/comments","events_url":"https://api.github.com/repos/wantedly/apig/issues/84/events","html_url":"https://github.com/wantedly/apig/issues/84","id":173098977,"number":84,"title":"controllers/root.go is not generated","user":{"login":"munisystem","id":7877005,"avatar_url":"https://avatars.githubusercontent.com/u/7877005?v=3","gravatar_id":"","url":"https://api.github.com/users/munisystem","html_url":"https://github.com/munisystem","followers_url":"https://api.github.com/users/munisystem/followers","following_url":"https://api.github.com/users/munisystem/following{/other_user}","gists_url":"https://api.github.com/users/munisystem/gists{/gist_id}","starred_url":"https://api.github.com/users/munisystem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/munisystem/subscriptions","organizations_url":"https://api.github.com/users/munisystem/orgs","repos_url":"https://api.github.com/users/munisystem/repos","events_url":"https://api.github.com/users/munisystem/events{/privacy}","received_events_url":"https://api.github.com/users/munisystem/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-25T02:11:53Z","updated_at":"2016-08-29T04:31:33Z","closed_at":"2016-08-29T04:31:33Z","body":"## WHY\r\nexecute ``apig gen``:\r\n```\r\n~/.go/src/github.com/munisystem/sample go(v1.6.2) ♦ apig gen\r\n\t[create /Users/muni/.go/src/github.com/munisystem/sample/docs/user.apib] %!s(MISSING)\r\n\t[create /Users/muni/.go/src/github.com/munisystem/sample/controllers/user.go] %!s(MISSING)\r\n\t[create /Users/muni/.go/src/github.com/munisystem/sample/docs/index.apib] %!s(MISSING)\r\n\t[update /Users/muni/.go/src/github.com/munisystem/sample/router/router.go] %!s(MISSING)\r\n\t[update /Users/muni/.go/src/github.com/munisystem/sample/db/db.go] %!s(MISSING)\r\n\t[update /Users/muni/.go/src/github.com/munisystem/sample/README.md] %!s(MISSING)\r\n===> Generated... \r\n```\r\n\r\nnot generated ``controller/root.go``:\r\n```\r\n~/.go/src/github.com/munisystem/sample go(v1.6.2) ♦ go build\r\n# github.com/munisystem/sample/router\r\nrouter/router.go:10: undefined: controllers.APIEndpoints\r\n~/.go/src/github.com/munisystem/sample go(v1.6.2) ♦\r\n~/.go/src/github.com/munisystem/sample go(v1.6.2) ♦\r\n~/.go/src/github.com/munisystem/sample go(v1.6.2) ♦ ls controllers/\r\nuser.go\r\n```\r\n\r\n## WHAT\r\nAdd to run generateRootController() when execute ``apig gen``.\r\n"}}
{"actor":{"display_login":"shimastripe"}}