func main(args) { Net.Http.ListenSimpleWithLoop((ctx)=>{ if(ctx.Path == "/") { ctx.WithMimeType("text/html").SendText(Pages.Index()); return true; } return false; },4206); }