feat: Add GoReleaser

This commit is contained in:
2025-07-21 00:17:39 +03:00
parent e47437f163
commit 59dfb99495
4 changed files with 60 additions and 14 deletions

View File

@@ -42,16 +42,16 @@ func (m *MockService) EXPECT() *MockServiceMockRecorder {
}
// All mocks base method.
func (m *MockService) All(ctx context.Context, limit, offset int) ([]model.Service, error) {
func (m *MockService) All(ctx context.Context, limit, offset int, publicOnly bool) ([]model.Service, error) {
m.ctrl.T.Helper()
ret := m.ctrl.Call(m, "All", ctx, limit, offset)
ret := m.ctrl.Call(m, "All", ctx, limit, offset, publicOnly)
ret0, _ := ret[0].([]model.Service)
ret1, _ := ret[1].(error)
return ret0, ret1
}
// All indicates an expected call of All.
func (mr *MockServiceMockRecorder) All(ctx, limit, offset any) *gomock.Call {
func (mr *MockServiceMockRecorder) All(ctx, limit, offset, publicOnly any) *gomock.Call {
mr.mock.ctrl.T.Helper()
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "All", reflect.TypeOf((*MockService)(nil).All), ctx, limit, offset)
return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "All", reflect.TypeOf((*MockService)(nil).All), ctx, limit, offset, publicOnly)
}