theme

package module
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2019 License: MIT Imports: 2 Imported by: 1

README

Aeridya Themes

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(t themer)

Register will make Aeridya aware of the theme functions to be used

func ServePage added in v1.0.2

func ServePage(resp *core.Response, p page.Paging)

Types

type Option

type Option func()

Option is the function type for initialization of Themes

type Theme

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

Theme is a basic struct with helper functions for themes

func (*Theme) ParseOpts

func (t *Theme) ParseOpts(opts []Option)

ParseOpts runs through the available Option functions and sets the values

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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