(ptype string, field string)
| 541 | } |
| 542 | |
| 543 | func (e *Enforcer) GetFieldIndex(ptype string, field string) (int, error) { |
| 544 | return e.model.GetFieldIndex(ptype, field) |
| 545 | } |
| 546 | |
| 547 | func (e *Enforcer) SetFieldIndex(ptype string, field string, index int) { |
| 548 | assertion := e.model["p"][ptype] |
no outgoing calls
no test coverage detected