{"action":"closed","issue":{"url":"https://api.github.com/repos/marcusolsson/goddd/issues/16","repository_url":"https://api.github.com/repos/marcusolsson/goddd","labels_url":"https://api.github.com/repos/marcusolsson/goddd/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/marcusolsson/goddd/issues/16/comments","events_url":"https://api.github.com/repos/marcusolsson/goddd/issues/16/events","html_url":"https://github.com/marcusolsson/goddd/issues/16","id":172970611,"number":16,"title":"Adopt a package management tool / makefile","user":{"login":"edoardo849","id":1617990,"avatar_url":"https://avatars.githubusercontent.com/u/1617990?v=3","gravatar_id":"","url":"https://api.github.com/users/edoardo849","html_url":"https://github.com/edoardo849","followers_url":"https://api.github.com/users/edoardo849/followers","following_url":"https://api.github.com/users/edoardo849/following{/other_user}","gists_url":"https://api.github.com/users/edoardo849/gists{/gist_id}","starred_url":"https://api.github.com/users/edoardo849/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/edoardo849/subscriptions","organizations_url":"https://api.github.com/users/edoardo849/orgs","repos_url":"https://api.github.com/users/edoardo849/repos","events_url":"https://api.github.com/users/edoardo849/events{/privacy}","received_events_url":"https://api.github.com/users/edoardo849/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-08-24T14:42:12Z","updated_at":"2016-08-31T15:54:06Z","closed_at":"2016-08-31T15:54:06Z","body":"Hello! Participated at Goconf2016, awesome talk :-)  \r\nSo I've forked this repo but run into trouble when trying to run it. Essentially the compiler first looks into the `/vendor` folder, but since in the code the imports are specified as `github.com/marcusolsson/` it doesn't work when I clone the project in the local folder `github.com/edoardo849`.\r\n\r\nMy suggestion could be to use a package management tool like glide to fix the problems OR to specify in the README to create the folder `GOPATH/src/github.com/marcusolsson` and to `git clone` there.\r\n\r\nSample output:\r\n```bash\r\n./main.go:86: cannot use session (type *\"github.com/edoardo849/goddd/vendor/gopkg.in/mgo.v2\".Session) as type *\"github.com/marcusolsson/goddd/vendor/gopkg.in/mgo.v2\".Session in argument to mongo.NewCargoRepository\r\n./main.go:87: cannot use session (type *\"github.com/edoardo849/goddd/vendor/gopkg.in/mgo.v2\".Session) as type *\"github.com/marcusolsson/goddd/vendor/gopkg.in/mgo.v2\".Session in argument to mongo.NewLocationRepository\r\n./main.go:88: cannot use session (type *\"github.com/edoardo849/goddd/vendor/gopkg.in/mgo.v2\".Session) as type *\"github.com/marcusolsson/goddd/vendor/gopkg.in/mgo.v2\".Session in argument to mongo.NewVoyageRepository\r\n./main.go:89: cannot use session (type *\"github.com/edoardo849/goddd/vendor/gopkg.in/mgo.v2\".Session) as type *\"github.com/marcusolsson/goddd/vendor/gopkg.in/mgo.v2\".Session in argument to mongo.NewHandlingEventRepository\r\n```\r\n\r\nI was also thinking that maybe it will be easier to just have a makefile to `make run` and `make docker-run` to do everything. If you agree I can create it myself and create a pull request. Let me know!"}}
{"actor":{"display_login":"marcusolsson"}}