view

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Overview

Package view parses html templates for web version of github aggregator. Also contains getter and setter for templates.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTemplates

func GetTemplates() *template.Template

GetTemplates gets templates for rendering.

func SetTemplates

func SetTemplates(tpls *template.Template)

SetTemplates sets templates for rendering.

Types

type AuthState added in v0.2.2

type AuthState struct {
	Auth bool
}

AuthState struct which represents auth state of user.

Directories

Path Synopsis
Package index implements function for index page render.
Package index implements function for index page render.
Package login implements function for login page render.
Package login implements function for login page render.
Package pulls implements function for pull requests page render.
Package pulls implements function for pull requests page render.

Jump to

Keyboard shortcuts

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