Skip to content

Commit

Permalink
Update generated code in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwyatt committed Feb 9, 2023
1 parent 2e95447 commit cbaa47b
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,19 +192,18 @@ func (_m *SendFunc) Execute(data string) (int, error) {
var r0 int
var r1 error
if rf, ok := ret.Get(0).(func(string) (int, error); ok {
r0, r1 = rf(data)
return rf(data)
}
if rf, ok := ret.Get(0).(func(string) int); ok {
r0 = rf(data)
} else {
if rf, ok := ret.Get(0).(func(string) int); ok {
r0 = rf(data)
} else {
r0 = ret.Get(0).(int)
}
r0 = ret.Get(0).(int)
}

if rf, ok := ret.Get(1).(func(string) error); ok {
r1 = rf(data)
} else {
r1 = ret.Error(1)
}
if rf, ok := ret.Get(1).(func(string) error); ok {
r1 = rf(data)
} else {
r1 = ret.Error(1)
}

return r0, r1
Expand Down

0 comments on commit cbaa47b

Please sign in to comment.