The IEnforcer did not have the AddMatchingFunc, AddDomainMatchingFunc, AddNamedMatchingFunc, or AddNamedDomainMatchingFunc in its interface. These are also returning the enforcer which isn't consistent with the Go implementation and seems unnecessary unless you are looking to chain the funcs.
The IEnforcer did not have the
AddMatchingFunc
,AddDomainMatchingFunc
,AddNamedMatchingFunc
, orAddNamedDomainMatchingFunc
in its interface. These are also returning the enforcer which isn't consistent with the Go implementation and seems unnecessary unless you are looking to chain the funcs.