Documentation ¶
Index ¶
Constants ¶
View Source
const ( CacheFile = "cache_file" RoverCache = "rover-cache" )
View Source
const ( NasaBaseUri = "https://api.nasa.gov/mars-photos/api/v1" ApiKey = "DEMO_KEY" )
Variables ¶
View Source
var (
Client = &http.Client{}
)
Functions ¶
Types ¶
type NasaResponse ¶
type NasaResponse struct {
Photos []Photo `json:"photos"`
}
Click to show internal directories.
Click to hide internal directories.