code: func FormatWrite(ctx formatter.Context, networks []types.NetworkResource) error {
  	render := func(format func(subContext formatter.SubContext) error) error {
  		for _, network := range networks {
  			networkCtx := &networkContext{trunc: ctx.Trunc, n: network}
  			if err := format(networkCtx); err != nil {
  				return err
  			}
  		}
  		return nil
  	}
  	networkCtx := networkContext{}
  	networkCtx.Header = formatter.SubHeaderContext{
  		"ID":        networkIDHeader,
  		"Name":      formatter.NameHeader,
  		"Driver":    formatter.DriverHeader,
  		"Scope":     formatter.ScopeHeader,
  		"IPv6":      ipv6Header,
  		"Internal":  internalHeader,
  		"Labels":    formatter.LabelsHeader,
  		"CreatedAt": formatter.CreatedAtHeader,
  	}
  	return ctx.Write(&networkCtx, render)
  }
docs: // FormatWrite writes the context