summary refs log tree commit diff stats
path: root/pkg/bpod/print.go
blob: 75bf948c1ad7a8c6486dbdcd2d34153608f7e189 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
}