Forget it. It is in a defer call. I guess I have no idea why it is behaving how it is.
On Fri, Mar 10, 2017 at 12:49 PM Bruno Albuquerque <b...@bug-br.org.br> wrote: > Wait, you are explicitly calling the context cancel function. As I > understand it that will shutdown the server immediately). > > On Fri, Mar 10, 2017 at 12:35 PM Andrew <angang....@gmail.com> wrote: > > go install and run the program, get the same result. > > -- > You received this message because you are subscribed to the Google Groups > "golang-nuts" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to golang-nuts+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.