将text / template / html / template编译为常规代码-Golang开发

时间:2021-05-26 17:10:02
【文件属性】:
文件名称:将text / template / html / template编译为常规代码-Golang开发
文件大小:209KB
文件格式:ZIP
更新时间:2021-05-26 17:10:02
Golang Template Engines template-compiler将text / template / html / template编译为常规go代码。 还是个w子! 安装您将需要库和二进制文件。 去获取github.com/mh-cbon/template-compiler cd $ GOPATH / src / github.com / mh-cbon template-compiler将text / template / html / template编译为常规go代码。 还是个w子! 安装您将需要库和二进制文件。 转到获取github.com/mh-cbon/template-compiler cd $ GOPATH / src / github.com / mh-cbon / template-compiler glide install转到安装CLI模板-compiler-0.0.0 -help | -h显示此帮助。 -version显示程序版本。 -keep保持引导程序编译器。 -print打印引导程序编译器。 -var th的变量名
【文件预览】:
template-compiler-master
----std()
--------text()
--------html()
----main_test.go(1KB)
----compiled()
--------registry.go(1KB)
--------configuration.go(2KB)
----LICENSE(1KB)
----glide.lock(626B)
----main.go(3KB)
----glide.yaml(271B)
----.gitignore(8B)
----compiler()
--------bootstrap.go(13KB)
--------compile_test.go(22KB)
--------compile.go(17KB)
--------convert.go(33KB)
--------convert_test.go(67KB)
--------bootstrap_test.go(12KB)
----demo()
--------main_test.go(6KB)
--------templates()
--------data()
--------gen.go(6KB)
--------main.go(2KB)
----README.md(14KB)

网友评论