diff options
author | Andinus <andinus@nand.sh> | 2020-03-18 23:04:21 +0530 |
---|---|---|
committer | Andinus <andinus@nand.sh> | 2020-03-18 23:04:21 +0530 |
commit | 052140fb3ccd4b386d8d98ba7355d676c1e0693d (patch) | |
tree | 13a01d6c98e1e4875b4fba4fc12d67814b2a23d2 /pkg/bpod/print.go | |
parent | 2f15edf548ec131d2eb97bd5338a1adef768acea (diff) | |
download | cetus-052140fb3ccd4b386d8d98ba7355d676c1e0693d.tar.gz |
Initial commit for Cetus v0.5.0 v0.5.0
Diffstat (limited to 'pkg/bpod/print.go')
-rw-r--r-- | pkg/bpod/print.go | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkg/bpod/print.go b/pkg/bpod/print.go new file mode 100644 index 0000000..75bf948 --- /dev/null +++ b/pkg/bpod/print.go @@ -0,0 +1,14 @@ +package bpod + +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("Copyright Link: %s\n", res.CopyrightLink) + fmt.Printf("Date: %s\n\n", res.StartDate) + fmt.Printf("URL: %s\n", res.Url) +} |