duandao2083 2016-05-07 16:32
浏览 7
已采纳

有没有办法为Go GAE应用程序交互式创建新的数据存储区实体类型?

Is there a way to create a new Datastore entity kind via some interactive means for Go App Engine apps? The datastore viewer won't let me add new entity kinds, and the interactive console doesn't seem to support Go.

I'm trying to upload some configuration data to datastore, including sensitive data that I don't want to appear in code. So far the best method I can come up with is to write some code to write an empty configuration entity, deploy, run, then use the datastore viewer to set the values.

Thanks in advance.

  • 写回答

2条回答 默认 最新

  • douyanzhou1450 2016-05-13 15:35
    关注

    You absolutely can add new Entity Kinds in the Console.

    In the Cloud Console, Click on the Datastore menu item, then 'Create an Entity'. Handy link, just select your project name

    Then in the Kind field, just type in your desired Kind name.

    Create an entity page showing a new kind name

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?