Giter Site home page Giter Site logo

pongo2's Introduction

pongo2

GitHub Workflow Status codecov GoDoc Sourcegraph

Middleware pongo2 is a pongo2.v3 template engine support for Macaron.

Installation

go get github.com/go-macaron/pongo2

Getting Help

License

This project is under the Apache License, Version 2.0. See the LICENSE file for the full license text.

pongo2's People

Contributors

fedir avatar flosch avatar unknwon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

pongo2's Issues

Does not work with bindata

Unable to start the application when bindata is in use.

It looks like it's reading all files in the in the tree and trying to read them incorrectly somehow.

This same code/options works if I use macaron.Renderer

2016/03/27 23:29:39 "templates/test": [Error (where: fromfile) in templates/test.tmpl] open templates/test.tmpl: no such file or directory

pongo2支持自定义{{}}吗?

像学习一下AngularJs,和pongo的变量定义{{}}有冲突,标准模板好像可以设置这个,pongo2可以吗
睡觉了,明天再来

请问怎么实现自定义序列化

fmt.Print打印的时候会默认调用String,
json序列号的时候会调用) MarshalJSON ,
请问pongo2显示变量的时候调用的什么函数?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.