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) }