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.
Hello, is it possible to use this as reference material? I'm learning Go and would like to buikd along with you with my own ouch, and am asking to see in case I ever put it in a public repository. (If I ever do, I will naturally leave a link to this video) Thank you!
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
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.
Man that quick tutorial is so cool. Well explained, straight to the point! 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😀
You should do a series on golang, really love how you have set the example of using golang features
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.
oh no my free weather api key is exposed!
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!
I love this style of video : very straight ti the point.
Good example, thanks for that ^^
Really awesome tutorial! Thanks for taking time to make such a great video to help us get a better understanding of Golang!
Its really cool tutorial. will test it out today. Thanks for sharing
Getting started with Golang, this is an awesome tutorial!
I love golang, very indulgent
this is awesome, thx for the quality video!
Great tutorial! Thanks for providing it.
Nice tutorial!
Dude, your vids are very interesting, love them ❤️
Learning go as my 3rd language. I did not you can parse json that way. Thanks a lot for the very interesting project.
Awesome class!
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! 👊
Fantastic tutorial. More please.
What font family are you using? Great job.
Very informative!
Hello, is it possible to use this as reference material?
I'm learning Go and would like to buikd along with you with my own ouch, and am asking to see in case I ever put it in a public repository.
(If I ever do, I will naturally leave a link to this video)
Thank you!
hey, yeah, use it however you want
you can find the code here as well: cdruc.com/go-weather-cli
my grandmother lied...romanians do have some IQ indeed!
Good video
Subscribed.. 👍👍
you from Iași?
Learnt so much. TYSM. Make more GO videos
Thank you! Will do!👊
nice bro,
very good video
Amazing Tutorial ! Thank you.
GREAT tutorial! I subscribed
this is available in github ?
Please more video about inertiajs ❤❤❤
Salut 🇷🇴❤. Foarte tare videoul, as dori sa invat si eu go pentru backend crezi ca e o alegere buna ?
Golang 💙
Dang this is so cool
If my operating system is windows, what should I do in the last part
Why didn't you use the website to convert json to struct?
what do you mean?
Is there any github repo link? Thanks
More Golang videos please!
you bet! 👊
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?
Hi sir can you provide us the repository?
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
Bought here by microsoft copilot!
lol 😂
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.
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