I recently got into go and I wanted something I could do and this was the perfect starter project. This project is so general purpose I used a random api for this and still got expected results all the time.
@cdruc you should consider re-generating your API key. I copied yours from the video, tried it myself and it worked :-) That said, thanks for this and the Hangman video. I'm mainly interested in learning Golang, and I like your straightforward natural style of starting simple and remaining simple, progressively rewriting the app. Cheers.
I was like oh ok didn't know we could nest anonymous structs like that and then I was like OK you duplicate so much you definitely should not do that :D also ... short lines, dude, pleae, especially in a video where you have a split screen. cool little tool, tho.
In some cases, if you don't close the response body, you can get memory leaks. Like, imagine 1000 users using this application at the same time to get data. If the response is not cleared out, it will still be present somewhere in data and soon the application will run out of memory. This is much more prevalent in webservers as compared to cli programs as a CLI program terminates after it's done, unlike a webserver which is always running
Man that quick tutorial is so cool. Well explained, straight to the point! Thank you !
You should do a series on golang, really love how you have set the example of using golang features
Getting started with Golang, this is an awesome tutorial!
Dude, your vids are very interesting, love them ❤️
I love this style of video : very straight ti the point.
Good example, thanks for that ^^
I love golang, very indulgent
Really awesome tutorial! Thanks for taking time to make such a great video to help us get a better understanding of Golang!
I recently got into go and I wanted something I could do and this was the perfect starter project. This project is so general purpose I used a random api for this and still got expected results all the time.
this is awesome, thx for the quality video!
Could you add chapters? There are a few distinct sections, and it would be easier to revisit certain sections that way. Thanks for the great tutorial!
Amazing Tutorial ! Thank you.
I'm learning Go as first programing language, I admire how you are coding this weather app effortlessly. Great work man .
thanks! i’m pretty new to go myself😀
@cdruc you should consider re-generating your API key. I copied yours from the video, tried it myself and it worked :-)
That said, thanks for this and the Hangman video. I'm mainly interested in learning Golang, and I like your straightforward natural style of starting simple and remaining simple, progressively rewriting the app. Cheers.
oh no my free weather api key is exposed!
Fantastic tutorial. More please.
Awesome class!
GREAT tutorial! I subscribed
Subscribed.. 👍👍
Please more video about inertiajs ❤❤❤
nice bro,
What font family are you using? Great job.
Great idea and clean code! Is that the Tokyo Night VScode theme? Looks dope
It's Night owl - but I just check those Tokyo themes and they do look really nice, so thanks! 👊
Learnt so much. TYSM. Make more GO videos
Thank you! Will do!👊
Golang 💙
very good video
Salut 🇷🇴❤. Foarte tare videoul, as dori sa invat si eu go pentru backend crezi ca e o alegere buna ?
I was like oh ok didn't know we could nest anonymous structs like that and then I was like OK you duplicate so much you definitely should not do that :D also ... short lines, dude, pleae, especially in a video where you have a split screen. cool little tool, tho.
More Golang videos please!
you bet! 👊
Hi sir can you provide us the repository?
If my operating system is windows, what should I do in the last part
1:34 what does closing the body of the response do? (in defer res.Body….) great tutorial!
In some cases, if you don't close the response body, you can get memory leaks. Like, imagine 1000 users using this application at the same time to get data. If the response is not cleared out, it will still be present somewhere in data and soon the application will run out of memory.
This is much more prevalent in webservers as compared to cli programs as a CLI program terminates after it's done, unlike a webserver which is always running
this is available in github ?
which terminal style do u use
im on a mac using default iterm2
I am on windows which folder should I move the sun.exe?
Bought here by microsoft copilot!
lol 😂
Why didn't you use the website to convert json to struct?
what do you mean?
funny
Hey really get vid, but I was wondering if you could share like your GitHub link for this code in particular. Thank youu
thanks!
no github, but I do have a blog post here: cdruc.com/go-weather-cli