コード例 #1
0
ファイル: gotpl.go プロジェクト: CNDonny/scope
func init() {
	templates.Register(".tmpl", new(GoTemplateCompiler))
}
コード例 #2
0
ファイル: amber.go プロジェクト: CNDonny/scope
func init() {
	templates.Register(".amber", NewAmberCompiler(amber.DefaultOptions))
}