package models type MoonParams struct { Query string `json:"query"` Filename string `json:"filename,omitempty"` MaxHits int `json:"max_hits,omitempty"` SortBy string `json:"sort_by,omitempty"` IngestStartDate string `json:"ingest_start_date,omitempty"` IngestEndDate string `json:"ingest_end_date,omitempty"` PostedStartDate string `json:"posted_start_date,omitempty"` PostedEndDate string `json:"posted_end_date,omitempty"` Format string `json:"format,omitempty"` } type MoonResponse struct { MaxHits int `json:"max_hits"` Results interface{} `json:"results"` Message string `json:"message,omitempty"` Error string `json:"error,omitempty"` }