thinkgo: github.com/thinkoner/thinkgo/view Index | Files

package view

import "github.com/thinkoner/thinkgo/view"

Index

Package Files

view.go

func ParseGlob Uses

func ParseGlob(pattern string)

func Render Uses

func Render(name string, data interface{}) template.HTML

type View Uses

type View struct {
    // contains filtered or unexported fields
}

func New Uses

func New() *View

func (*View) ParseGlob Uses

func (v *View) ParseGlob(pattern string)

ParseGlob creates a new Template and parses the template definitions from the files identified by the pattern, which must match at least one file.

func (*View) Render Uses

func (v *View) Render(name string, data interface{}) template.HTML

Package view imports 3 packages (graph) and is imported by 1 packages. Updated 2019-11-20. Refresh now. Tools for package owners.