code: func _getIps(ipType string, showMsgType bool) {
  	ips, _ := cloudflare.IPs()
  
  	switch ipType {
  	case "ipv4":
  		if showMsgType != true {
  			fmt.Println("IPv4 ranges:")
  		}
  		for _, r := range ips.IPv4CIDRs {
  			fmt.Println(" ", r)
  		}
  	case "ipv6":
  		if showMsgType != true {
  			fmt.Println("IPv6 ranges:")
  		}
  		for _, r := range ips.IPv6CIDRs {
  			fmt.Println(" ", r)
  		}
  	}
  }
docs: //
  // gets type of IPs to retrieve and returns results
  //