code: func WithIPAM(subnet, gateway string) func(*types.NetworkCreate) {
  	return func(n *types.NetworkCreate) {
  		if n.IPAM == nil {
  			n.IPAM = &network.IPAM{}
  		}
  
  		n.IPAM.Config = append(n.IPAM.Config, network.IPAMConfig{
  			Subnet:     subnet,
  			Gateway:    gateway,
  			AuxAddress: map[string]string{},
  		})
  	}
  }
docs: // WithIPAM adds an IPAM with the specified Subnet and Gateway to the network