1
是什麼這兩AppEngine上包之間的區別: https://cloud.google.com/appengine/docs/go/reference https://godoc.org/google.golang.org/appengineGolang:不同的AppEngine包
脫穎而出對我來說,唯一的事情就是:第二個沒有上下文類型
哪一個應該有人用於開發應用程序?
是什麼這兩AppEngine上包之間的區別: https://cloud.google.com/appengine/docs/go/reference https://godoc.org/google.golang.org/appengineGolang:不同的AppEngine包
脫穎而出對我來說,唯一的事情就是:第二個沒有上下文類型
哪一個應該有人用於開發應用程序?
「google.golang.org/appengine」包可在託管虛擬機和App Engine Classic上運行。 「appengine」軟件包僅適用於App Engine Classic。
「google.golang.org/appengine」包使用x/net/context包來傳遞上下文。 「appengine」軟件包使用特定於這些軟件包的上下文。
請參閱https://github.com/golang/appengine#3-update-code-using-deprecated-removed-or-modified-apis瞭解API差異列表。