code: func DiffFormatWrite(ctx formatter.Context, changes []container.ContainerChangeResponseItem) error {
  
  	render := func(format func(subContext formatter.SubContext) error) error {
  		for _, change := range changes {
  			if err := format(&diffContext{c: change}); err != nil {
  				return err
  			}
  		}
  		return nil
  	}
  	return ctx.Write(newDiffContext(), render)
  }
docs: // DiffFormatWrite writes formatted diff using the Context