Skeleton files and http

This commit is contained in:
Nicholas Keller
2026-08-14 11:24:47 -04:00
parent 432a156403
commit 62ed7e190a
11 changed files with 167 additions and 19 deletions
+10
View File
@@ -0,0 +1,10 @@
package handlers
import (
"log"
"net/http"
)
func PostHandler(w http.ResponseWriter, req *http.Request) {
log.Print(req.URL.Path)
}
+11
View File
@@ -0,0 +1,11 @@
package handlers
import (
"log"
"net/http"
)
func PostPage(w http.ResponseWriter, req *http.Request) {
log.Printf("Serving a post")
log.Print(req.URL.Path)
}
+10
View File
@@ -0,0 +1,10 @@
package handlers
import (
"log"
"net/http"
)
func Public(w http.ResponseWriter, req *http.Request) {
log.Print(req.URL.Path)
}
+10
View File
@@ -0,0 +1,10 @@
package handlers
import (
"log"
"net/http"
)
func UserHandler(w http.ResponseWriter, req *http.Request) {
log.Print(req.Method)
}