Explorar o código

Remove indexPage

Philipp Heckel %!s(int64=4) %!d(string=hai) anos
pai
achega
acde2e5b6e
Modificáronse 1 ficheiros con 0 adicións e 5 borrados
  1. 0 5
      server/server.go

+ 0 - 5
server/server.go

@@ -50,11 +50,6 @@ type Server struct {
 	mu           sync.Mutex
 }
 
-type indexPage struct {
-	Topic         string
-	CacheDuration time.Duration
-}
-
 // handleFunc extends the normal http.HandlerFunc to be able to easily return errors
 type handleFunc func(http.ResponseWriter, *http.Request, *visitor) error