Created
June 6, 2021 21:49
-
-
Save agusrichard/729ae61f1ded51dc43021e6d6949704f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // TweetRepository is an autogenerated mock type for the TweetRepository type | |
| type TweetRepository struct { | |
| mock.Mock | |
| } | |
| // CreateTweet provides a mock function with given fields: tweet | |
| func (_m *TweetRepository) CreateTweet(tweet *entities.Tweet) error { | |
| ret := _m.Called(tweet) | |
| var r0 error | |
| if rf, ok := ret.Get(0).(func(*entities.Tweet) error); ok { | |
| r0 = rf(tweet) | |
| } else { | |
| r0 = ret.Error(0) | |
| } | |
| return r0 | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment