@@ -16,14 +16,14 @@ import (
1616// in-memory by casbin's model layer; this adapter only satisfies the interface.
1717type noopAdapter struct {}
1818
19- func (noopAdapter ) LoadPolicy (_ casbinModel.Model ) error { return nil }
20- func (noopAdapter ) SavePolicy (_ casbinModel.Model ) error { return nil }
21- func (noopAdapter ) AddPolicy (_ , _ string , _ []string ) error { return nil }
22- func (noopAdapter ) RemovePolicy (_ , _ string , _ []string ) error { return nil }
23- func (noopAdapter ) RemoveFilteredPolicy (_ , _ string , _ int , _ ... string ) error { return nil }
24- func (noopAdapter ) LoadPolicyCtx (_ context.Context , _ casbinModel.Model ) error { return nil }
25- func (noopAdapter ) SavePolicyCtx (_ context.Context , _ casbinModel.Model ) error { return nil }
26- func (noopAdapter ) AddPolicyCtx (_ context.Context , _ , _ string , _ []string ) error { return nil }
19+ func (noopAdapter ) LoadPolicy (_ casbinModel.Model ) error { return nil }
20+ func (noopAdapter ) SavePolicy (_ casbinModel.Model ) error { return nil }
21+ func (noopAdapter ) AddPolicy (_ , _ string , _ []string ) error { return nil }
22+ func (noopAdapter ) RemovePolicy (_ , _ string , _ []string ) error { return nil }
23+ func (noopAdapter ) RemoveFilteredPolicy (_ , _ string , _ int , _ ... string ) error { return nil }
24+ func (noopAdapter ) LoadPolicyCtx (_ context.Context , _ casbinModel.Model ) error { return nil }
25+ func (noopAdapter ) SavePolicyCtx (_ context.Context , _ casbinModel.Model ) error { return nil }
26+ func (noopAdapter ) AddPolicyCtx (_ context.Context , _ , _ string , _ []string ) error { return nil }
2727func (noopAdapter ) RemovePolicyCtx (_ context.Context , _ , _ string , _ []string ) error { return nil }
2828func (noopAdapter ) RemoveFilteredPolicyCtx (_ context.Context , _ , _ string , _ int , _ ... string ) error {
2929 return nil
0 commit comments