Skip to content
This repository has been archived by the owner on Sep 17, 2019. It is now read-only.

cmd/servegoissues: Update issues.Service interface. #16

Merged
merged 1 commit into from
Dec 31, 2016
Merged

cmd/servegoissues: Update issues.Service interface. #16

merged 1 commit into from
Dec 31, 2016

Conversation

dmitshur
Copy link
Collaborator

Update for shurcooL/issues@d5974e9.

This change is needed to fix what otherwise would be a build error:

$ go build -o /dev/null github.com/bradfitz/go-issue-mirror/cmd/servegoissues
# github.com/bradfitz/go-issue-mirror/cmd/servegoissues
cmd/servegoissues/servegoissues.go:36: cannot use issuesService literal (type issuesService) as type "github.com/shurcooL/issues".Service in argument to issuesapp.New:
	issuesService does not implement "github.com/shurcooL/issues".Service (wrong type for ListComments method)
		have ListComments(context.Context, "github.com/shurcooL/issues".RepoSpec, uint64, interface {}) ([]"github.com/shurcooL/issues".Comment, error)
		want ListComments(context.Context, "github.com/shurcooL/issues".RepoSpec, uint64, *"github.com/shurcooL/issues".ListOptions) ([]"github.com/shurcooL/issues".Comment, error)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants