FAQ
Apparently the appengine SDK doesn't put its source code in the user's
GOPATH, as reported here:

https://github.com/tools/godep/issues/103

Maybe it provides only compiled packages or maybe the source code is
somewhere else.

But also, is my understanding of appengine correct in this matter?
Does appengine have a different implementation of its packages in
production compared to the SDK? This would imply that vendoring
appengine packages is the wrong approach.

Any suggestions on how to deal with this aside from what's already
been mentioned (giving godep a list of packages to exclude) in the bug
report above?

--
You received this message because you are subscribed to the Google Groups "golang-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Search Discussions

  • David Symonds at Aug 28, 2014 at 2:38 am
    The traditional App Engine was structured such that the appengine/*
    packages appeared to be in the standard library. You wrote `import
    "appengine/datastore"` and it would just work, as long as you were building
    with the right tools. That decision was largely a historic artifact dating
    before GOPATH existed.

    The "new" App Engine world of Managed VMs uses a much more standard
    GOPATH-based system where you write `import "
    google.golang.org/appengine/datastore"`, and it all builds and tests with
    the standard Go tools.

    It seems reasonable to me to put in a temporary hack to recognise imports
    that are "appengine" or start with "appengine/", and pretend that they are
    in the standard library. That matches the build model of the traditional
    setup, and it sounds like that's what you're leaning towards in that bug.

    --
    You received this message because you are subscribed to the Google Groups "golang-dev" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to golang-dev+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/d/optout.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupgolang-dev @
categoriesgo
postedAug 27, '14 at 7:04p
activeAug 28, '14 at 2:38a
posts2
users2
websitegolang.org

2 users in discussion

David Symonds: 1 post Keith Rarick: 1 post

People

Translate

site design / logo © 2022 Grokbase