go - Catch error and do other something -


i'm trying create function publish message rabbitmq goroutine. want that: when call function 1000 time @ same time, if have error, function catch error , redial 1 time , push message array resend simultaneously.

thanks , please me!


Comments

Popular posts from this blog

vb.net - How to ignore if a cell is empty nothing -

Sort a complex associative array in PHP -

recursion - Can every recursive algorithm be improved with dynamic programming? -