code: func HistoryWrite(ctx formatter.Context, human bool, histories []image.HistoryResponseItem) error {
  	render := func(format func(subContext formatter.SubContext) error) error {
  		for _, history := range histories {
  			historyCtx := &historyContext{trunc: ctx.Trunc, h: history, human: human}
  			if err := format(historyCtx); err != nil {
  				return err
  			}
  		}
  		return nil
  	}
  	historyCtx := &historyContext{}
  	historyCtx.Header = formatter.SubHeaderContext{
  		"ID":           historyIDHeader,
  		"CreatedSince": formatter.CreatedSinceHeader,
  		"CreatedAt":    formatter.CreatedAtHeader,
  		"CreatedBy":    createdByHeader,
  		"Size":         formatter.SizeHeader,
  		"Comment":      commentHeader,
  	}
  	return ctx.Write(historyCtx, render)
  }
docs: // HistoryWrite writes the context