Help us shape the future of Go! Take the 2026 Go Developer Survey

aurora

package module
v0.0.0-...-59e8c73 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

README

aurora

Lightning fast Go web templating engine

Documentation

Index

Constants

View Source
const ModeDaemon = "DAEMON"

ModeDaemon :

Variables

This section is empty.

Functions

This section is empty.

Types

type Aurora

type Aurora struct {
	TemplatePath string
	RunMode      string
	Templates    map[string]*Template
}

Aurora :

func NewAurora

func NewAurora(templatePath string, runMode string) *Aurora

NewAurora :

func (*Aurora) Init

func (aurora *Aurora) Init()

Init :

func (*Aurora) Render

func (aurora *Aurora) Render(templateName string, datas map[string]interface{}) []byte

Render :

type Template

type Template struct {
	Name string
	Data []byte
}

Template :

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL