Skip to content

oal/beego-pongo2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

beego-pongo2

A tiny little helper for using Pongo2 with Beego.

Documentation: http://godoc.org/github.com/oal/beego-pongo2

Usage

package controllers

import (
	"github.com/astaxie/beego"
	"github.com/oal/beego-pongo2"
)

type MainController struct {
	beego.Controller
}

func (this *MainController) Get() {
	pongo2.Render(this.Ctx, "page.html", pongo2.Context{
		"ints": []int{1, 2, 3, 4, 5},
	})
}

About

A tiny little helper for using Pongo2 with Beego.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages