package
0.0.0-20250130172252-09d6cb75feb1
Repository: https://github.com/darwishdev/devkit-api.git
Documentation: pkg.go.dev

# Functions

CallerID retrieves the caller ID from the context safely.
No description provided by the author
No description provided by the author
WithCallerID injects the caller ID into the context.
this method injects the tenant id on the context this should be use later from the repo layer to access the tenant id of the logged in user.
this method injects the permission name for this function this should check for skip authorization is false and then it returns the permission function by handling the create update endpoints while checking for the record id and pass the correct permission name [create , update] based on that , if it's normal endpoint it will just add the endpoint name like list or delete.