Removed monolith server folder/files.
Currently just an api, will look into this down the line as if/when I want to add a browser ui maybe it will be a seperate project
This commit is contained in:
@@ -1,14 +0,0 @@
|
||||
package web
|
||||
|
||||
import "net/http"
|
||||
|
||||
type HomeData struct {
|
||||
Title string
|
||||
}
|
||||
|
||||
func (s *Server) handleHome() http.HandlerFunc {
|
||||
return func(w http.ResponseWriter, r *http.Request) {
|
||||
data := HomeData{Title: "NFeeder"}
|
||||
view(w, r, "home", data)
|
||||
}
|
||||
}
|
||||
@@ -1 +0,0 @@
|
||||
package web
|
||||
Reference in New Issue
Block a user