diff options
| author | Alexander Kavon <hawk@alexkavon.com> | 2023-11-28 00:45:37 -0500 |
|---|---|---|
| committer | Alexander Kavon <hawk@alexkavon.com> | 2023-11-28 00:45:37 -0500 |
| commit | 7d7059d53891bc1abb284d9b288505a5d406b307 (patch) | |
| tree | f3ae7435a0a67ce1e5c939966738fea01bb9644e /src/post/controller.go | |
| parent | d7d2b376405d91a201b8b830160458c5dd6df4a9 (diff) | |
build ui and render templates, build routes
Diffstat (limited to 'src/post/controller.go')
| -rw-r--r-- | src/post/controller.go | 14 |
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!")) - }) -} |
