summaryrefslogtreecommitdiff
path: root/vendor/github.com/golang/mock/mockgen/tests/empty_interface
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2018-07-24 14:35:44 +0200
committerDimitri Sokolyuk <demon@dim13.org>2018-07-24 14:35:44 +0200
commit621e49bb465f500cc46d47e39e828cf76d6381d7 (patch)
treee9d6ed54cfae73209f2b0d9a016ef0b64adf45a6 /vendor/github.com/golang/mock/mockgen/tests/empty_interface
parent5b9a4a158b81aa6e94a5a56d0851bea938b87bef (diff)
update vendor
Diffstat (limited to 'vendor/github.com/golang/mock/mockgen/tests/empty_interface')
-rw-r--r--vendor/github.com/golang/mock/mockgen/tests/empty_interface/input.go4
-rw-r--r--vendor/github.com/golang/mock/mockgen/tests/empty_interface/mock.go32
2 files changed, 36 insertions, 0 deletions
diff --git a/vendor/github.com/golang/mock/mockgen/tests/empty_interface/input.go b/vendor/github.com/golang/mock/mockgen/tests/empty_interface/input.go
new file mode 100644
index 0000000..bbcb3fc
--- /dev/null
+++ b/vendor/github.com/golang/mock/mockgen/tests/empty_interface/input.go
@@ -0,0 +1,4 @@
+//go:generate mockgen -package empty_interface -destination mock.go -source input.go
+package empty_interface
+
+type Empty interface{}
diff --git a/vendor/github.com/golang/mock/mockgen/tests/empty_interface/mock.go b/vendor/github.com/golang/mock/mockgen/tests/empty_interface/mock.go
new file mode 100644
index 0000000..0fc5b0c
--- /dev/null
+++ b/vendor/github.com/golang/mock/mockgen/tests/empty_interface/mock.go
@@ -0,0 +1,32 @@
+// Code generated by MockGen. DO NOT EDIT.
+// Source: input.go
+
+// Package empty_interface is a generated GoMock package.
+package empty_interface
+
+import (
+ gomock "github.com/golang/mock/gomock"
+)
+
+// MockEmpty is a mock of Empty interface
+type MockEmpty struct {
+ ctrl *gomock.Controller
+ recorder *MockEmptyMockRecorder
+}
+
+// MockEmptyMockRecorder is the mock recorder for MockEmpty
+type MockEmptyMockRecorder struct {
+ mock *MockEmpty
+}
+
+// NewMockEmpty creates a new mock instance
+func NewMockEmpty(ctrl *gomock.Controller) *MockEmpty {
+ mock := &MockEmpty{ctrl: ctrl}
+ mock.recorder = &MockEmptyMockRecorder{mock}
+ return mock
+}
+
+// EXPECT returns an object that allows the caller to indicate expected use
+func (m *MockEmpty) EXPECT() *MockEmptyMockRecorder {
+ return m.recorder
+}