首页
注册
登录
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请
登录
The Go Programming Language
›
http://golang.org/
›
Go Playground
Go Projects
›
Revel Web Framework
广告
V2EX
›
Go 编程语言
Golang template cache 的问题
OneNian
·
2018-05-21 19:09:02 +08:00
· 1239 次点击
这是一个创建于 2164 天前的主题,其中的信息可能已经有所发展或是发生改变。
有什么办法保存 Execute 处理完的结果呢?
第 1 条附言 ·
2018-05-22 16:42:10 +08:00
golang template execute to string
找到了
https://coderwall.com/p/ns60fq/simply-output-go-html-template-execution-to-strings
Golang
template
execute
Cache
2 条回复
•
2018-05-21 22:50:54 +08:00
1
mritd
2018-05-21 20:55:23 +08:00 via iPhone
搞个 buff 写进去就行了
2
moliliang
2018-05-21 22:50:54 +08:00
手撸 cache 到 redis 或文件呗
关于
·
帮助文档
·
博客
·
API
·
FAQ
·
我们的愿景
·
实用小工具
·
971 人在线
最高记录 6543
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 32ms ·
UTC 21:45
·
PVG 05:45
·
LAX 14:45
·
JFK 17:45
Developed with
CodeLauncher
♥ Do have faith in what you're doing.