in

The lightweight and powerful web framework using the new way for Go.Another go the way


                                    _
                                   | |
 _____  ____    ___   _ _ _  _____ | |__
(____ ||  _   / _  | | | || ___ ||  _  
/ ___ || | | || |_| || | | || ____|| |_) )
_____||_| |_| ___/  ___/ |_____)|____/ 

::anoweb:: 

The lightweight and powerful web framework using the new way for Go. Another go the way.

{{ Version @VER }}

{{ Powered by go-the-way }}

{{ https://github.com/go-the-way/anoweb }}

require github.com/go-the-way/anoweb latest
package main

import (
	"fmt"
	"io/ioutil"
	"net/http"
	"time"
	
	"github.com/go-the-way/anoweb"
	"github.com/go-the-way/anoweb/context"
)

func main() {
	go func() {
		time.AfterFunc(time.Second, func() {
			response, _ := http.Get("http://localhost:9494")
			resp, _ := ioutil.ReadAll(response.Body)
			fmt.Println(string(resp))
		})
	}()
	anoweb.DefaultApp.Get("/", func(ctx *context.Context) {
		ctx.Text("Hello world")
	}).Run()
}


Adding html tag in between post body

I am following the video on youtube about adding datepicker, but it doesn’t work