complete group creation endpoint with auth and validation, change parameter and return pointer usage in some get func

This commit is contained in:
2026-03-13 09:56:08 +01:00
parent eeea54492b
commit bb1acfe38f
4 changed files with 52 additions and 27 deletions
+1
View File
@@ -29,5 +29,6 @@ func main() {
log.Println("server listening on :8080")
http.HandleFunc("POST /register", RegisterHandler)
http.HandleFunc("POST /login", LoginHandler)
http.HandleFunc("POST /create/group", CreateGroupHandler)
log.Fatal(http.ListenAndServe(":8080", nil))
}