renamed dir client to web

This commit is contained in:
2024-10-31 20:31:22 +05:30
parent ad57664a3e
commit e41d27cf97
24 changed files with 110 additions and 1070 deletions

16
server/router.go Normal file
View File

@@ -0,0 +1,16 @@
package main
import (
"net/http"
"gitserver.in/patialtech/mux"
)
func router() *mux.Router {
r := mux.NewRouter()
r.Get("/", func(w http.ResponseWriter, r *http.Request) {
w.Write([]byte("hello there"))
})
return r
}

5
server/server.go Normal file
View File

@@ -0,0 +1,5 @@
package main
func main() {
}