index

package
v0.0.0-...-1bc63cf Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: GPL-3.0 Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Page

func Page(w http.ResponseWriter, r *http.Request)

Page endpoint returns the index page.

Types

type PageData

type PageData struct {
	Title   string
	Paths   []helpers.Path
	Courses []course.Course
}

PageData contains the data for rendering the index page.

Jump to

Keyboard shortcuts

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