From 7d7059d53891bc1abb284d9b288505a5d406b307 Mon Sep 17 00:00:00 2001 From: Alexander Kavon Date: Tue, 28 Nov 2023 00:45:37 -0500 Subject: build ui and render templates, build routes --- src/post/controller.go | 14 -------------- 1 file changed, 14 deletions(-) delete mode 100644 src/post/controller.go (limited to 'src/post/controller.go') diff --git a/src/post/controller.go b/src/post/controller.go deleted file mode 100644 index 561e9b3..0000000 --- a/src/post/controller.go +++ /dev/null @@ -1,14 +0,0 @@ -package post - -import ( - "net/http" - - "github.com/go-chi/chi/v5" -) - -func Create() { - r := chi.NewRouter() - r.Get("/", func(w http.ResponseWriter, r *http.Request) { - w.Write([]byte("Yello There!")) - }) -} -- cgit v1.2.3