for example, when java is in the same request, you can get the information directly in the context of spring without sending the request of the current request. Can
be done in gin? The main problem now is that all the places where you want to get the session from the request have to pass the context back and forth, unlike in java, you can get it anywhere using the tool class UserUtils.getUser () without passing parameters.
gin, if there are many UserUtils.getUser (context), parameters, almost every method has to take this parameter