-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: refactor code for context variable and i18n function usage
- Refactor the code to replace `context` with `ctx` in the `router.GET` functions - Update the `ginI18n.MustGetMessage` function calls to include `ctx` as a parameter - Modify the `i18n.LocalizeConfig` object initialization to use `ctx.Param` instead of `context.Param` Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Loading branch information
Showing
1 changed file
with
33 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters