summaryrefslogtreecommitdiff
path: root/vendor/github.com/golang/mock/mockgen/tests/unexported_method/bugreport.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/golang/mock/mockgen/tests/unexported_method/bugreport.go')
-rw-r--r--vendor/github.com/golang/mock/mockgen/tests/unexported_method/bugreport.go15
1 files changed, 0 insertions, 15 deletions
diff --git a/vendor/github.com/golang/mock/mockgen/tests/unexported_method/bugreport.go b/vendor/github.com/golang/mock/mockgen/tests/unexported_method/bugreport.go
deleted file mode 100644
index 91d5baf..0000000
--- a/vendor/github.com/golang/mock/mockgen/tests/unexported_method/bugreport.go
+++ /dev/null
@@ -1,15 +0,0 @@
-//go:generate mockgen -destination bugreport_mock.go -package bugreport -source=bugreport.go Example
-
-package bugreport
-
-import "fmt"
-
-// Example is an interface with a non exported method
-type Example interface {
- someMethod(string) string
-}
-
-// CallExample is a simple function that uses the interface
-func CallExample(e Example) {
- fmt.Println(e.someMethod("test"))
-}