summary refs log tree commit diff stats
path: root/pkg/apod/print.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/apod/print.go')
-rw-r--r--pkg/apod/print.go19
1 files changed, 0 insertions, 19 deletions
diff --git a/pkg/apod/print.go b/pkg/apod/print.go
deleted file mode 100644
index a087665..0000000
--- a/pkg/apod/print.go
+++ /dev/null
@@ -1,19 +0,0 @@
-package apod
-
-import (
-	"fmt"
-)
-
-// Print will print the json output
-func Print(res Res) {
-	fmt.Printf("Title: %s\n\n", res.Title)
-	fmt.Printf("Copyright: %s\n", res.Copyright)
-	fmt.Printf("Date: %s\n\n", res.Date)
-	fmt.Printf("Media Type: %s\n", res.MediaType)
-	if res.MediaType == "image" {
-		fmt.Printf("URL: %s\n\n", res.HDURL)
-	} else {
-		fmt.Printf("URL: %s\n\n", res.URL)
-	}
-	fmt.Printf("Explanation: %s\n", res.Explanation)
-}