Skip to content
Sections
>> Trisquel >> Paket >> nabia >> text >> ace
etiona  ] [  nabia  ] [  aramo  ]
[ Källkod: golang-github-yosssi-ace  ]

Paket: ace (0.0.5-3)

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.

Andra paket besläktade med ace

  • beror
  • rekommenderar
  • föreslår

Hämta ace

Hämtningar för alla tillgängliga arkitekturer
Arkitektur Paketstorlek Installerad storlek Filer
amd64 738,8 kbyte2636 kbyte [filförteckning]
armhf 659,0 kbyte2286 kbyte [filförteckning]