diff options
author | Dimitri Sokolyuk <demon@dim13.org> | 2019-07-02 12:12:53 +0200 |
---|---|---|
committer | Dimitri Sokolyuk <demon@dim13.org> | 2019-07-02 12:12:53 +0200 |
commit | 473acc61c8392dc7ae303d91568e179c4f105a76 (patch) | |
tree | a2070cba25f918cda460387e587dd60551b23894 /vendor/github.com/golang/mock/sample/README.md | |
parent | dd45f63209a8e51979b11182253ee80b5289c10a (diff) |
add black list
Diffstat (limited to 'vendor/github.com/golang/mock/sample/README.md')
-rw-r--r-- | vendor/github.com/golang/mock/sample/README.md | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/vendor/github.com/golang/mock/sample/README.md b/vendor/github.com/golang/mock/sample/README.md deleted file mode 100644 index 7180204..0000000 --- a/vendor/github.com/golang/mock/sample/README.md +++ /dev/null @@ -1,16 +0,0 @@ -This directory contains an example of a package containing a non-trivial -interface that can be mocked with GoMock. The interesting files are: - - * `user.go`: Source code for the sample package, containing interfaces to be - mocked. This file depends on the packages named imp[1-4] for various things. - - * `user_test.go`: A test for the sample package, in which mocks of the - interfaces from `user.go` are used. This demonstrates how to create mock - objects, set up expectations, and so on. - - * `mock_user/mock_user.go`: The generated mock code. See ../update_mocks.sh - for the command used to generate it. - -To run the test, - - go test github.com/golang/mock/sample |