ory / ladon

A SDK for access control policies: authorization for the microservice and IoT age. Inspired by AWS IAM policies. Written for Go.

Home Page:https://www.ory.sh/?utm_source=github&utm_medium=banner&utm_campaign=ladon

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

README.md some error

tanjiancheng opened this issue · comments

commented

README.md

warden := ladon.Ladon{
        Manager: manager.NewMemoryManager(),
        AuditLogger: ladon.AuditLoggerInfo{}
    }

should be

warden := ladon.Ladon{
        Manager: manager.NewMemoryManager(),
        AuditLogger: &ladon.AuditLoggerInfo{}
    }

Feel free to propose a change using a PR!