Skip to content
Sections
>> Trisquel >> 套件 >> aramo >> text >> ace
etiona  ] [  nabia  ] [  aramo  ]
[ 原始碼: golang-github-yosssi-ace  ]

套件: ace (0.0.5-3.1build1)

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

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
armhf 680.9 kB2227 kB [文件列表]