PrintObject prints the specified object to stdout.
(obj *vt.Object)
| 148 | |
| 149 | // PrintObject prints the specified object to stdout. |
| 150 | func (p *Printer) PrintObject(obj *vt.Object) error { |
| 151 | objs := make([]*vt.Object, 1) |
| 152 | objs[0] = obj |
| 153 | return p.PrintObjects(objs) |
| 154 | } |
| 155 | |
| 156 | // GetAndPrintObjects retrieves objects from the specified endpoint and prints |
| 157 | // them. The endpoint must contain a %s placeholder that will be replaced with |
no test coverage detected