为什么GAE标准环境中没有针对Golang的Cloud Endpoints?

huangapple go评论95阅读模式
英文:

Why isn't Cloud Endpoints for Golang in GAE Standard Environment?

问题

嘿,有人知道为什么Google App Engine的标准环境中没有Go语言的Google Cloud Endpoints吗?官方似乎只支持/文档化了Python和Java。

可能是因为:

A) Cloud Endpoints将来会支持Golang。

B) Cloud Endpoints并不是很好,所以不会在Golang中实现。

C) 其他原因。

有一个"非标准"的库https://github.com/GoogleCloudPlatform/go-endpoints,但已经9个月没有更新了。

我正在考虑在GAE项目中选择Python还是Golang,这种对Cloud Endpoints的支持不足让我有些犹豫。

提前感谢。

英文:

Hey does anyone know why Google Cloud Endpoints for Go-lang isn't in the standard environment on Google App Engine? It's only seemed to be officially supported/documented for Python / Java.

Is it because

A) Cloud Endpoints is coming to Golang soon / someday.

B) Cloud Endpoints isn't so great, so it's not going to be implemented in Golang.

C) Something else.

There's this "non-standard" lib https://github.com/GoogleCloudPlatform/go-endpoints but it hasn't been updated in 9 months.

I'm trying to choose between Python and Golang for a GAE project, and this lack of support for Cloud Endpoints is giving me pause.

Thanks in advance.

答案1

得分: 8

产品经理Dan Ciruli在google-appengine-go邮件列表上回答了这个问题:

有两个主要原因,第二个是第一个原因的副产品。我们在Endpoints Go框架上的使用率要低得多,可能是因为开发人员的原话是:“Go只不过是一种‘语言’,不是一个‘框架’语言。”与Java、Python(以及Node)不同,大多数使用Go的开发人员在编写API后端时不使用框架。

而且,至少部分原因是因为我们在Endpoints团队上没有人员来构建和支持Go框架。

他补充道:

并非一切都失去希望。您可以在GAE Flex或Container Engine上使用可扩展服务器代理(Extensible Server Proxy)将Go API放在Endpoints后面。而且今年晚些时候,我们应该能够在GAE标准环境中部署ESP,您也将在那里获得全部功能。

英文:

Product manager Dan Ciruli answered this on the google-appengine-go mailing list :

> There are two primary reasons, and the second is a byproduct of the
> first. We've had much less uptake on the Endpoints Go framework --
> perhaps because, in the words of a developer I spoke to, "Go just
> isn't a 'framework' language." Unlike, Java, Python (and, say, Node),
> most developers using Go don't use a framework for writing an API
> backend.
>
> And, at least partially because of that, we aren't staffed on the
> Endpoints team to build and support a framework in Go.

He added:

> All hope is not lost. You can put a Go API behind Endpoints today on
> GAE Flex or Container Engine (without framework) using the Extensible
> Server Proxy. And later this year, we should be able to get the ESP
> deployed in GAE standard environment, you'll get the full power there,
> too.

huangapple
  • 本文由 发表于 2017年3月12日 23:41:06
  • 转载请务必保留本文链接:https://go.coder-hub.com/42749402.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定