summary refs log tree commit diff stats
path: root/cmd/cetus-nasa
Commit message (Collapse)AuthorAgeFilesLines
* Export struct fields v0.4.9Andinus2020-03-161-25/+24
| | | | | | | Only exported structs and fields are visible to other packages, including the encoding/json package. So you must capitalize the field names of the structs to export those fields so the Marshal func can see them
* Rewrite apod response retrivalAndinus2020-03-161-48/+58
|
* Remove license text from headersAndinus2020-03-151-14/+0
|
* cetus-nasa: Fix compile time errorAndinus2020-03-151-1/+1
|
* Port path-only to cetus-nasaAndinus2020-03-151-0/+6
|
* Clean up repeat variable declarationAndinus2020-03-151-13/+5
|
* Handle if block within printDetails functionAndinus2020-03-151-3/+4
|
* Fix url on media types other than imageAndinus2020-03-151-1/+1
|
* Split getting api response into a functionAndinus2020-03-151-7/+18
|
* Fix url when media type is not an imageAndinus2020-03-151-1/+5
|
* Check media typeAndinus2020-03-151-8/+18
| | | | | | | Today's media type was video & that broke the program, currently this will check the media type & set background only if it's an image. It exits if media type is not an image, this behaviour might change later.
* Add version flagAndinus2020-03-141-12/+21
|
* Add cetus-nasa program v0.4.0Andinus2020-03-141-0/+105
cetus-nasa uses NASA's API to get Astronomy Picture of the Day.