On Mon, Oct 1, 2018 at 4:24 PM, Dan Kortschak <dan.kortsc...@adelaide.edu.au> wrote: > > I'd ask this at google-appengine-go, but there does not appear to be > any real traffic to that group; numerous threads have only the single > post that is the question being asked. > > The documentation for go appengine is woeful in terms of what is > allowed and what is not (previously I asked here and there regarding > the requirements for passing `go vet -composites` without clear > response). Since I doubt I'll get a response there, I'll try my luck > here: > > Is there documentation detailing which std packages are allowed/banned > from appengine applications (obviously unsafe, but also net? syscall? > etc?) Alternatively, can people here give a reasonably complete list of > allowed/banned packages?
I'm not an expert on this, and I hope I don't get anything wrong here. There are two versions of App Engine: flexible and standard. In the flexible environment you can import any package and write Go code in the normal way; your program will run in a Docker container. In the standard environment you can import any package other than unsafe. But in the standard environment operations that make direct system calls or modify the file system will fail with an error; you have to use the App Engine APIs for those operations. There is a general description at https://cloud.google.com/appengine/docs/standard/go/runtime . I don't know if there is a specific list of operations that are not supported. Ian -- 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.