all repos — auth-boilerplate @ e32a2dfeddcff5b2677fdffb65af0a78b614f797

A simple Go web-app boilerplate.

templates/example.html (view raw)

 1<!DOCTYPE html>
 2<html>
 3<head>
 4    <title>Pagina Protetta</title>
 5</head>
 6<body>
 7    <h1>Benvenuto, {{.User.Username}}</h1> 
 8    <p>Questa รจ una pagina protetta visibile solo agli utenti loggati.</p>
 9    <a href="/logout">Logout</a>
10</body>
11</html>