1 package main 2 3 import ( 4 "time" 5 6 "vimagination.zapto.org/httpdir" 7 ) 8 9 func init() { 10 date := time.Unix(1589836937, 0) 11 httpdir.Default.Create("index.html", httpdir.FileString(`<!DOCTYPE html> 12 <html xmlns="http://www.w3.org/1999/xhtml"> 13 <head> 14 <title>Calendar</title> 15 <link rel="stylesheet" type="text/css" href="style.css" /> 16 <script type="text/javascript" src="code.js"></script> 17 </head> 18 <body></body> 19 </html> 20 `, date)) 21 }