printer/plainprinter.go
changeset 229 d4c099a67c86
parent 228 360929ee6aef
child 234 f5cd55622194
equal deleted inserted replaced
228:360929ee6aef 229:d4c099a67c86
   311 		p.PrintObj(r.Statuses, w, indent+p.Indent)
   311 		p.PrintObj(r.Statuses, w, indent+p.Indent)
   312 	}
   312 	}
   313 	if len(r.Hashtags) > 0 {
   313 	if len(r.Hashtags) > 0 {
   314 		indentedPrint(w, indent, false, false, "Hashtags", "")
   314 		indentedPrint(w, indent, false, false, "Hashtags", "")
   315 		for _, tag := range r.Hashtags {
   315 		for _, tag := range r.Hashtags {
   316 			indentedPrint(w, indent+p.Indent, true, false, "Tag", "%s", tag)
   316 			indentedPrint(w, indent+p.Indent, true, false, "Tag", "%s", tag.Name)
       
   317 			indentedPrint(w, indent+p.Indent, false, true, "URL", "%s", tag.URL)
   317 		}
   318 		}
   318 	}
   319 	}
   319 	return nil
   320 	return nil
   320 }
   321 }
   321 
   322