views

package
v0.0.0-...-13f578d Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2022 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PageHandler

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

PageHandler !

func TodoHandler

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

TodoHandler !

Types

type Context

type Context struct {
	TodoList []map[string]interface{}
}

TodoList field inside the Context that will be used in Golang HTML template

Jump to

Keyboard shortcuts

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