如何判断我是否在Google App Engine / go上本地运行[重复]

I'm aware of if 'APPENGINE_RUNTIME' in os.environ.keys(): for the python runtime, but is there a similar way to tell whether I'm running locally using go?

</div>

Call IsDevAppServer to determine if the application is running locally.