21 lines
337 B
Go
21 lines
337 B
Go
package meteo
|
|
|
|
import (
|
|
"fmt"
|
|
"net/http"
|
|
)
|
|
|
|
type Handler struct{}
|
|
|
|
func NewHandler() *Handler {
|
|
return &Handler{}
|
|
}
|
|
|
|
func (h *Handler) IngestCSV(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintf(w, "hello from csv")
|
|
}
|
|
|
|
func (h *Handler) IngestExcel(w http.ResponseWriter, r *http.Request) {
|
|
fmt.Fprintf(w, "hello from excel")
|
|
}
|