aboutsummaryrefslogtreecommitdiff
path: root/src/post/controller.go
diff options
context:
space:
mode:
authorAlexander Kavon <hawk@alexkavon.com>2023-11-28 00:45:37 -0500
committerAlexander Kavon <hawk@alexkavon.com>2023-11-28 00:45:37 -0500
commit7d7059d53891bc1abb284d9b288505a5d406b307 (patch)
treef3ae7435a0a67ce1e5c939966738fea01bb9644e /src/post/controller.go
parentd7d2b376405d91a201b8b830160458c5dd6df4a9 (diff)
build ui and render templates, build routes
Diffstat (limited to 'src/post/controller.go')
-rw-r--r--src/post/controller.go14
1 files changed, 0 insertions, 14 deletions
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!"))
- })
-}