If you are accessing variables declared outside the http server, and you use any non-thread safe types or code it will panic.
For instance, try and read a map, it will crash your code.
It won't show this as a problem until you have real traffic on your service.. Hitting it in your browser isn't enough to test properly.