ioutils is deprecated in new Golang version, makesure to use "io" package instead.
@arsal12310 ай бұрын
Now os package also has ReadFile method like os.ReadFile(FILE_NAME)
@mr.ramnani8 ай бұрын
Thanks man
@rahulbera4543 жыл бұрын
This man is legend 🥰 Thaaaankkkksss Hitesh
@ruturajkadam51648 ай бұрын
This course is of very good quality ,thank you hitesh bhai
@mechtoit65552 жыл бұрын
hitesh sir,your teaching style is excellent..sir can please make video on go web application any kind of application.
@AIwithAniket5 ай бұрын
Thanks
@sebastiansilvavidal452 Жыл бұрын
Hello bro. thanks for your content. Should we use camelcase when naming variables or not? sometimes you use camelcase, sometimes you don't
@eftehassan99694 ай бұрын
camelCase/CamelCase always
@uzmainaya69143 ай бұрын
@HiteshCodeLab, you have mentioned about closing a response, but why are you closing response body just, and not entire response in the code? I think response struct have field close is not for this purpose
@yashsharma63962 ай бұрын
In Go's http.Response structure, res is the entire response object, while res.Body specifically implements an io.ReadCloser interface that needs to be closed. Here's why we use res.Body.Close(): res.Body is an io.ReadCloser, which is a stream of the response data. It needs to be closed to free up system resources (like network connections and file descriptors). There is no res.Close() method because the response struct itself doesn't need closing - only the body stream does.
@mepolob3 жыл бұрын
Hi Sir Will this http GET function call run asynchronously? Just like Future async await in dart?. Thanks in advance Sir. 🙏
@khushalgandhi5157 Жыл бұрын
No
@riwazudas25322 жыл бұрын
the url will result in an error being thrown as ur website is different now. is there any other website that we can use
@theclub1195 ай бұрын
have you resolved the issue bro
@PawanKumar-em6sc5 ай бұрын
@@theclub119 make a simple html program, go live and use its url
@susheela19923 жыл бұрын
Sir I am 2016 out some reason I couldn't join can I join now as developer I learnt js and reactjs by youtube
@abhaytiwari64113 жыл бұрын
Nice work 👍
@sterinsaji45133 жыл бұрын
Keep going 👍🏽
@PriyaGupta-sg4sm2 күн бұрын
Did I just witness a scraper made with Go
@tufuap32482 жыл бұрын
Can someone please tell me why I'm getting an error while trying to read the response with ioutil?
@AravindLal362 жыл бұрын
use os
@axaysushir3 жыл бұрын
Nice series
@nayyershahzad80512 жыл бұрын
Superb!!!
@naveenrawat15496 ай бұрын
Hindi version when ?
@mrrishiraj883 жыл бұрын
🙏👍👍
@avikkundu Жыл бұрын
ioutil.ReadAll has some performance issues. Is it OK to use this?
@khizrshaikh99023 жыл бұрын
First Comment I want heart
@sandipram502211 ай бұрын
❤🧡💛💚💙💜🤎❤
@nomadspike14602 ай бұрын
this is borrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrriiiiiiiiiiiiiiiiiiiiinnnnnnnnnnnnnggggggggggggggggg................................... node js is far better