Update on review comments

1. changed implementations from camelcase to lowercase
2. added removed initSteps.
3. updated rout struct for model.go
This commit is contained in:
MohitKatare-protean
2025-03-29 16:08:28 +05:30
parent 98c04b1f9f
commit 9bfb65079e
9 changed files with 77 additions and 17 deletions

View File

@@ -24,8 +24,7 @@ type MockPluginManager struct {
// Middleware returns a middleware function based on the provided configuration.
func (m *MockPluginManager) Middleware(ctx context.Context, cfg *plugin.Config) (func(http.Handler) http.Handler, error) {
args := m.Called(ctx, cfg)
return args.Get(0).(func(http.Handler) http.Handler), args.Error(1)
return nil, nil
}
// SignValidator returns a mock implementation of the Verifier interface.