We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
hey, there. I wonder if we counld add a post hook function inside http handlers. We can modify fields here. Here's an example.
func GetAllSystemRole_(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { // ..... some code result := &PagedResults{Page: page, PageSize: pagesize, Data: records, TotalRecords: totalRows} if err := systemrole_.AfterDBOperation(); err != nil {. // add hook here returnError(ctx, w, r, dao.ErrServerInternal) } writeJSON(ctx, w, result) }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
hey, there. I wonder if we counld add a post hook function inside http handlers.
We can modify fields here.
Here's an example.
The text was updated successfully, but these errors were encountered: