Skip to content

Commit

Permalink
Merge d396251 into ebca8cc
Browse files Browse the repository at this point in the history
  • Loading branch information
nukosuke committed May 16, 2019
2 parents ebca8cc + d396251 commit 49da626
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/nukosuke/go-zendesk/v0.3
module github.com/nukosuke/go-zendesk

require (
github.com/golang/mock v1.3.1
Expand Down
2 changes: 1 addition & 1 deletion zendesk/api.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package zendesk

//go:generate mockgen -destination=mock/client.go -package=mock -mock_names=API=Client github.com/nukosuke/go-zendesk/v0.3/zendesk API
//go:generate mockgen -destination=mock/client.go -package=mock -mock_names=API=Client github.com/nukosuke/go-zendesk/zendesk API

// API an interface containing all of the zendesk client methods
type API interface {
Expand Down
4 changes: 1 addition & 3 deletions zendesk/mock/api.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
package mock

import (
"github.com/nukosuke/go-zendesk/v0.3/zendesk"
)
import "github.com/nukosuke/go-zendesk/zendesk"

var _ zendesk.API = (*Client)(nil)
4 changes: 2 additions & 2 deletions zendesk/mock/client.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 49da626

Please sign in to comment.