summary refs log tree commit diff stats
path: root/pkg/bpod/print.go
diff options
context:
space:
mode:
authorAndinus <andinus@nand.sh>2020-03-18 23:04:21 +0530
committerAndinus <andinus@nand.sh>2020-03-18 23:04:21 +0530
commit052140fb3ccd4b386d8d98ba7355d676c1e0693d (patch)
tree13a01d6c98e1e4875b4fba4fc12d67814b2a23d2 /pkg/bpod/print.go
parent2f15edf548ec131d2eb97bd5338a1adef768acea (diff)
downloadcetus-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.go14
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)
+}
8d23f8e3e120604560818d86658ee66f088'>2a69f8d2 ^
107fdd35 ^

4aee5347 ^
9b177a9e ^
601a8803 ^
97aebb61 ^

9b177a9e ^
732533ee ^
9b177a9e ^
732533ee ^
52e9be4a ^

732533ee ^

9b55f2de ^
a4cadf78 ^

0a57c4de ^



a234ba0c ^

a2726b6a ^




3b2ceee8 ^
a2726b6a ^






ea83165a ^
af42bc44 ^
4711fc62 ^
af42bc44 ^
a2726b6a ^

36427971 ^
3a778cc9 ^
a2726b6a ^



4aee5347 ^
a2726b6a ^
630fef01 ^
a2726b6a ^



28dd5458 ^
a2726b6a ^

14f25992 ^
06ef6842 ^

4aee5347 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99