template

package
v0.0.0-...-96504fd Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Module

type Module struct {
	service.ModuleLifeCycle
}

func New

func New(opt ...func(*Options)) *Module

type Options

type Options struct {
	Funcs     map[string]interface{} `json:"-"`
	Dir       string                 `json:"dir"`
	Static    string                 `json:"static"`
	StaticDir string                 `json:"static_dir"`
	Reload    bool                   `json:"reload"`
}

func (Options) ConfKey

func (Options) ConfKey() string

func (Options) DisableWrite

func (Options) DisableWrite() bool

Jump to

Keyboard shortcuts

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