Philipp Heckel 4 лет назад
Родитель
Сommit
acde2e5b6e
1 измененных файлов с 0 добавлено и 5 удалено
  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