Open utterances-bot opened 4 years ago
text/template 和 html/template 包可以将变量的值代入文本或 HTML 模板,用于输出更精细的格式,将输出格式和代码彻底分离。 模板可以是字符串或文件,它包含若干个用 {{}} 包起来的部分
http://hofungkoeng.com/post/building_block/go/template/
keep going
Template in Go - A-bit interference
text/template 和 html/template 包可以将变量的值代入文本或 HTML 模板,用于输出更精细的格式,将输出格式和代码彻底分离。 模板可以是字符串或文件,它包含若干个用 {{}} 包起来的部分
http://hofungkoeng.com/post/building_block/go/template/