templates

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var IndexTemplate, _ = template.New("index").Parse(`
	<html>
	<head><title>Test page</title></head>
	<body>
		<h1>OTP Test page</h1>
		<form action="/" method="GET" target="result" >
			OTP: <input type="text" maxlength="44"  name="otp" style="width: 300px"/><input type="submit"/>
		</form>
		<pre  width="500" height="150" style="border: 1px solid #666">{{.Result}}</pre>
	</body>
	</html>
`)

nolint:gocheckglobals IndexTemplate is HTML template for index page.

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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