Building a CLI application with Golang

  Рет қаралды 30,209

cdruc

cdruc

Жыл бұрын

In this video we'll build a simple golang cli app that shows the weather forecast for the day.

Пікірлер: 37
@maxwebstudio
@maxwebstudio 2 ай бұрын
Man that quick tutorial is so cool. Well explained, straight to the point! Thank you !
@Blue-bb9ro
@Blue-bb9ro Ай бұрын
Getting started with Golang, this is an awesome tutorial!
@jondoe79
@jondoe79 Жыл бұрын
You should do a series on golang, really love how you have set the example of using golang features
@thisisreallyme3130
@thisisreallyme3130 3 ай бұрын
@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.
@abdulrahmanbinali3051
@abdulrahmanbinali3051 11 ай бұрын
I'm learning Go as first programing language, I admire how you are coding this weather app effortlessly. Great work man .
@cdruc
@cdruc 11 ай бұрын
thanks! i’m pretty new to go myself😀
@mmatongo
@mmatongo 4 ай бұрын
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.
@Mortagus
@Mortagus 6 ай бұрын
I love this style of video : very straight ti the point. Good example, thanks for that ^^
@MedChergui
@MedChergui Жыл бұрын
Dude, your vids are very interesting, love them ❤️
@arihasan3423
@arihasan3423 5 ай бұрын
Really awesome tutorial! Thanks for taking time to make such a great video to help us get a better understanding of Golang!
@Rhidayah
@Rhidayah Жыл бұрын
I love golang, very indulgent
@BbB-vr9uh
@BbB-vr9uh 2 ай бұрын
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!
@prashantr3192
@prashantr3192 Ай бұрын
Fantastic tutorial. More please.
@Ok9xNirab
@Ok9xNirab 11 ай бұрын
Amazing Tutorial ! Thank you.
4 ай бұрын
Awesome class!
@bardus_hobus
@bardus_hobus Ай бұрын
GREAT tutorial! I subscribed
@sanjayav6461
@sanjayav6461 6 ай бұрын
Learnt so much. TYSM. Make more GO videos
@cdruc
@cdruc 6 ай бұрын
Thank you! Will do!👊
@sebwylleman
@sebwylleman 7 ай бұрын
Great idea and clean code! Is that the Tokyo Night VScode theme? Looks dope
@cdruc
@cdruc 7 ай бұрын
It's Night owl - but I just check those Tokyo themes and they do look really nice, so thanks! 👊
@sagarhp.infosec
@sagarhp.infosec 10 ай бұрын
Subscribed.. 👍👍
@khamzateedira9021
@khamzateedira9021 Жыл бұрын
Please more video about inertiajs ❤❤❤
@zxey8611
@zxey8611 8 ай бұрын
Salut 🇷🇴❤. Foarte tare videoul, as dori sa invat si eu go pentru backend crezi ca e o alegere buna ?
@StarliDev
@StarliDev 10 ай бұрын
very good video
@algolanduz
@algolanduz 8 ай бұрын
nice bro,
@adicide9070
@adicide9070 7 ай бұрын
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.
@noahhernandez2652
@noahhernandez2652 Ай бұрын
1:34 what does closing the body of the response do? (in defer res.Body….) great tutorial!
@lmaoded7505
@lmaoded7505 22 күн бұрын
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
@k1defjoel397
@k1defjoel397 11 ай бұрын
More Golang videos please!
@cdruc
@cdruc 11 ай бұрын
you bet! 👊
@fmonel
@fmonel 9 ай бұрын
Golang 💙
@user-zk1uk8yt7i
@user-zk1uk8yt7i Ай бұрын
If my operating system is windows, what should I do in the last part
@younesessaadani9303
@younesessaadani9303 11 ай бұрын
Hi sir can you provide us the repository?
@ivayloivanov3744
@ivayloivanov3744 7 ай бұрын
funny
@benitaemudianughe9789
@benitaemudianughe9789 11 ай бұрын
Hey really get vid, but I was wondering if you could share like your GitHub link for this code in particular. Thank youu
@cdruc
@cdruc 11 ай бұрын
thanks! no github, but I do have a blog post here: cdruc.com/go-weather-cli
This is Why You NEED to Use This Golang CLI Framework
15:22
ХОТЯ БЫ КИНОДА 2 - официальный фильм
1:35:34
ХОТЯ БЫ В КИНО
Рет қаралды 1,9 МЛН
I PEELED OFF THE CARDBOARD WATERMELON!#asmr
00:56
HAYATAKU はやたく
Рет қаралды 37 МЛН
Did you find it?! 🤔✨✍️ #funnyart
00:11
Artistomg
Рет қаралды 116 МЛН
Never Lose Your Data Again! AEWIN Storage Server Solutions Explained
3:16
Exy at AEWIN Technologies
Рет қаралды 4
The Most Efficient Struct Configuration Pattern For Golang
11:10
This Makes Golang CLI Development So MUCH Better
7:34
Melkey
Рет қаралды 18 М.
Golang is OG?
5:16
Martin Baun
Рет қаралды 2,3 М.
How to run C program in command prompt
0:58
Coding is Love
Рет қаралды 225 М.
How To Make Your Boring macOS Terminal Amazing With Alacritty
16:33
Josean Martinez
Рет қаралды 72 М.
Making Tmux Better AND Beautiful -- here’s how
10:56
typecraft
Рет қаралды 50 М.
What Makes A Good Cli Tool | Prime Explains
4:26
ThePrimeTime
Рет қаралды 55 М.
Go 1.22 is bringing about a new future for the language.
4:32
Dreams of Code
Рет қаралды 143 М.
ПК с Авито за 3000р
0:58
ЖЕЛЕЗНЫЙ КОРОЛЬ
Рет қаралды 1,2 МЛН
Готовый миниПК от Intel (но от китайцев)
36:25
Ремонтяш
Рет қаралды 447 М.
НЕ ПОКУПАЙ iPad Pro
13:46
itpedia
Рет қаралды 410 М.
🤖Вернулись в ПРОШЛОЕ🤪
0:28
Demin's Lounge
Рет қаралды 129 М.