https://github.com/ipfans/beego-pongo2.v2
A tiny little helper for using Pongo2 (v2) with Beego. [Not in maintenance]
https://github.com/ipfans/beego-pongo2.v2
Last synced: about 1 year ago
JSON representation
A tiny little helper for using Pongo2 (v2) with Beego. [Not in maintenance]
- Host: GitHub
- URL: https://github.com/ipfans/beego-pongo2.v2
- Owner: ipfans
- License: mit
- Created: 2014-10-06T13:47:15.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2015-03-22T13:47:55.000Z (over 11 years ago)
- Last Synced: 2025-06-21T23:36:28.668Z (about 1 year ago)
- Language: Go
- Homepage:
- Size: 122 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
beego-pongo2.v2
============
A tiny little helper for using Pongo2 (v2) with Beego.
Status: With little tests. IF YOU FIND BUGS, PLS LET ME KNOW.
Documentation: http://godoc.org/github.com/ipfans/beego-pongo2.v2
Based on [https://github.com/oal/beego-pongo2](https://github.com/oal/beego-pongo2)
## Usage
```go
package controllers
import (
"github.com/astaxie/beego"
"github.com/ipfans/beego-pongo2.v2"
)
type MainController struct {
beego.Controller
}
func (this *MainController) Get() {
pongo2.Render(this.Ctx, "page.html", pongo2.Context{
"ints": []int{1, 2, 3, 4, 5},
})
}
```