Skip to content

Commit

Permalink
godoc
Browse files Browse the repository at this point in the history
  • Loading branch information
kubegu committed Mar 5, 2024
1 parent a15d5ce commit 4ee3221
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions web/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ import (
//go:embed templates
var htmlTemplates embed.FS

type Server struct {
Mux *http.ServeMux
}

// Create Mux and setup routes
func InitMux() *http.ServeMux {
mux := http.NewServeMux()
mux.HandleFunc("/", indexHandler)
Expand Down

0 comments on commit 4ee3221

Please sign in to comment.