11 lines
192 B
Go

package luckygift
import "net/http"
func RegisterRoutes(mux *http.ServeMux, h *Handler) {
if h == nil {
return
}
mux.Handle("POST /api/v1/lucky-gifts/send", http.HandlerFunc(h.Send))
}