start reports/moderation in backend

This commit is contained in:
Sam 2023-03-19 16:14:09 +01:00
parent 41edaee8ea
commit 33f903b07d
Signed by: sam
GPG key ID: B4EF20DDE721CAA1
8 changed files with 136 additions and 2 deletions

View file

@ -0,0 +1,13 @@
package mod
import (
"fmt"
"net/http"
)
func (s *Server) getReports(w http.ResponseWriter, r *http.Request) error {
showClosed := r.FormValue("closed") == "true"
fmt.Println("closed =", showClosed)
return nil
}