Updated handler package

This commit is contained in:
phoenix
2025-10-22 22:48:22 -04:00
parent bbecbdb723
commit d0158d108e
3 changed files with 30 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
package handler
import "net/http"
func DraftMessageHandler(w http.ResponseWriter, r *http.Request) {
da := MessageItem{
Id: 1,
Message: "The Word",
}
RespondWithJSON(w, http.StatusOK, da)
}