Adapter is the string adapter for Casbin. It can load policy from string or save policy to string.
| 27 | // Adapter is the string adapter for Casbin. |
| 28 | // It can load policy from string or save policy to string. |
| 29 | type Adapter struct { |
| 30 | Line string |
| 31 | } |
| 32 | |
| 33 | // NewAdapter is the constructor for Adapter. |
| 34 | func NewAdapter(line string) *Adapter { |
nothing calls this directly
no outgoing calls
no test coverage detected