Closed mattn closed 6 years ago
The result of building your branch on my machine is as follows
$ go build ./...
# github.com/mattn/lab/gitlab
gitlab/client.go:47:2: cannot use jobs (type []gitlab.Job) as type []*gitlab.Job in return argument
# github.com/mattn/lab/commands
commands/pipeline.go:126:45: cannot use jobs (type []"github.com/mattn/lab/vendor/github.com/xanzy/go-gitlab".Job) as type []*"github.com/mattn/lab/vendor/github.com/xanzy/go-gitlab".Job in argument to jobOutput
Ah, sorry. In my local repository, go-gitlab is master branch. And I built lab with go build
. It seems that go-gitlab add breaking changes at https://github.com/xanzy/go-gitlab/pull/364 . So please close this PR.
@mattn Understood. I am happy to receive a pull request from a respecting person.
FYI, v0.9.0 is tagged in go-gitlab just now.
Thank you for teaching me.
Since I upgraded go-gitlab, I will merge your pull request.
@mattn thanks for contribution.
but your commit is not fix build. Could you tell me why you need to fix this?
https://travis-ci.org/lighttiger2505/lab/builds/369107323?utm_source=github_status&utm_medium=notification