【文件属性】:
文件名称:gae-postgres:从Google App Engine连接到PostgreSQLCloud SQL
文件大小:8KB
文件格式:ZIP
更新时间:2021-05-10 22:03:04
go golang postgres appengine postgresql
适用于PostgreSQLCloud SQL for Google App Engine
免责声明
这不是Google产品,不受支持。
它使用google.golang.org/appengine/cloudsql程序包,该程序包受MySQL支持,但Postgres不支持。
它碰巧现在就可以工作,但可能不会永远持续下去。
例子
app.yaml
runtime : go
api_version : go1
handlers :
- url : /.*
script : _go_app
env_variables :
# Replace INSTANCE_CONNECTION_NAME with the value obtained when configuring your
# Cloud SQL instance, available from the Google
【文件预览】:
gae-postgres-master
----gaepostgres.go(2KB)
----LICENSE(11KB)
----values.go(3KB)
----README.md(3KB)