I like to ask, if how can i run URL using go. I have ruby code that i like to convert to Go.
url4 = "https://rest.nexmo.com/sms/xml?api_key=KEY&api_secret=SECRET&from=Aphelion&to=#{params[:user][:mobile_num]}&text=Test SMS"
encoded_url3 = URI.encode(url4)
url5= URI.parse(encoded_url3)
req3 = Net::HTTP::Get.new(url5.to_s)
res = Net::HTTP.start('rest.nexmo.com', 80) {|http|
http.request(req3)
}
Thank you