You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I build up a WaitGroup while I use the httpx in the gin handler, but there is no return and wg.Done() dose not been called.
And I tested in a single file with the same code, it works.
it works when I called the function in a single file
it doesn't work when I called the function in the gin handler
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I build up a WaitGroup while I use the httpx in the gin handler, but there is no return and wg.Done() dose not been called.
And I tested in a single file with the same code, it works.
anyone can give me a tip? I am so comfused.
Beta Was this translation helpful? Give feedback.
All reactions