我爱占星网 我爱占星网
首页
编程
java
php
前端
首页 编程 java php 前端

如何在Go中获取应用版本?

I want to use the version that I have set in app.yaml as a querystring variable for my css and js files, so that my user's browsers will grab the latest version if it has been cached when I update my app. I cannot find a good reference for the "appengine" package, which I assume has the variable that I am looking for. Can anyone help me out?

See the following appengine/context method:

https://developers.google.com/appengine/docs/go/reference#VersionID

近期文章

  • 如何实现接口,但是发布新的API?
  • Golang API响应的Catchall类型
  • Golang包括本地文件
  • 将int转换为int32
  • 去语言网站框架设计线程明智
  • 从另一个函数追加到数组?
  • 追加切片循环
  • 为什么变量为零,尽管我在那里引用了对象
  • Golang中的模拟功能以进行测试
  • 单值上下文(net / url)中的多值url.Parse()
  • 使用URL下载zip文件[关闭]
  • 如何将Golang中的[] []字节发送到浏览器以将其解码为图像
  • 如何访问http客户端响应正文全局[关闭]
  • 我可以为每个要调用的函数获取函数ID并与之通信吗?
  • 向我解释执行时间的差异
  • 在什么情况下crypto / rand read()的两个返回值会有用?
  • 如何从pkcs12商店加载x509密钥对?
  • 使用未导入包中的类型的返回值
  • 如何在PostgreSQL数据库中创建东西
  • 使用切片在Go中实现简单队列

Copyright ©2022 我爱占星 All Rights Reserved.

浙ICP备2022030071号-1

部分图文来自网络,如有侵犯您的版权,请告诉我们删除

友情链接:代码精华