1 package main 2 3 import ( 4 "time" 5 6 "vimagination.zapto.org/httpdir" 7 ) 8 9 func init() { 10 httpdir.Create("index.html", httpdir.FileString(`<!DOCTYPE html> 11 <html xmlns="http://www.w3.org/1999/xhtml"> 12 <head> 13 <title>Minecraft Generator</title> 14 <script type="text/javascript" src="js/js.js"></script> 15 </head> 16 <body>Connecting...</body> 17 </html> 18 `, time.Unix(1446640983, 0))) 19 }