code: func (n *Network) ProfileForChannel(channelName string) string {
  	for _, ch := range n.Channels {
  		if ch.Name == channelName {
  			return ch.Profile
  		}
  	}
  	return ""
  }
docs: // ProfileForChannel gets the configtxgen profile name associated with the
  // specified channel.