Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> text >> ace
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: golang-github-yosssi-ace  ]

软件包: ace (0.0.5-2)

HTML template engine for Go (command-line tool)

Ace is an HTML template engine for Go. This is inspired by Slim (http://slim-lang.com/) and Jade (http://jade-lang.com/). This is a refinement of Gold (http://gold.yoss.si/).

Example:

  = doctype html
  html lang=en
  head
    title Hello Ace
    = css
      h1 { color: blue; }
  body
    h1 {{.Msg}}
    #container.wrapper
      p..
        Ace is an HTML template engine for Go.
        This engine simplifies HTML coding in Go web application development.
    = javascript
      console.log('Welcome to Ace');

This package provides the /usr/bin/ace command-line tool and example files.

其他与 ace 有关的软件包

  • 依赖
  • 推荐
  • 建议

下载 ace

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
amd64 693.5 kB2541 kB [文件列表]
i386 657.4 kB2113 kB [文件列表]