Jannno
(Jannno)
1
Hi,
My site went offline and I am having trouble migrating my site to golang version 112.
How do I migrate this code from “appengine/urlfetch” to “net/http”.
func myHandler(w http.ResponseWriter, r *http.Request) {
some code…
}
…
// code that doesn’t work below
// Get URL request
ctx := appengine.NewContext( r )
client := urlfetch.Client(ctx)
Many thanks
NobbZ
(Norbert Melzer)
2
What do you mean by “code not works”?
Do you get errors during compilation or during runtime?
What version of your dependencies are you using? And why 1.12? 1.15 is out…
system
(system)
Closed
3
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.