package main
import (
"fmt"
"net/http"
"github.com/micro/go-micro/v2/web"
)
func index(w http.ResponseWriter, r *http.Request) {
fmt.Fprint(w, `
This is a regular form
This is a multipart form
`)
}
func main() {
service := web.NewService(
web.Name("go.micro.web.form"),
)
service.Init()
service.HandleFunc("/", index)
service.Run()
}