Go语言模板中的 if , else , with , or , 和 and 提供了处理条件逻辑的框架. 类似 range , 每个语句使用{{ end }}闭合。 Go模板中认为下列值为false:.
確定! 回上一頁