nidus-sync/rmo/email.go
Eli Ribble e7681c7d6e
Change public-report to rmo
We're leaning into the branding and shorter directory names
2026-01-29 23:59:35 +00:00

18 lines
377 B
Go

package rmo
import (
"fmt"
"net/http"
//"github.com/Gleipnir-Technology/nidus-sync/comms/email"
"github.com/go-chi/chi/v5"
)
func getEmailByCode(w http.ResponseWriter, r *http.Request) {
code := chi.URLParam(r, "code")
if code == "" {
http.Error(w, "You must specify a code", http.StatusBadRequest)
return
}
fmt.Fprintf(w, "Pretend email contet for %s", code)
}