The context.WithCancelCause was definitely QoL feature. This will make it easier to know which part of the code cancels the context by giving appropriate message that attaches to the context itself, rather than using an additional var / chan to store the error / cancellation message . IMO its more verbose & concise that way
You're welcome, honestly it's never bad to know more than one programming language, however I do understand you, writing idiomatic code in any language takes a toll when context switching to another language.
@@MarioCarrion I agree. In my life I learned to some extent C++, C, Python, Common Lisp, Rust, Julia, Go and I have some encounter with Ruby. Also I learn some HTML and CSS, but I forget almost all of that. I believe that you should know more than one language, but I feel that I'm not good at any one of these. I hope that I can learn C# reasonably well for my job. We also use C++, but its complexity is mind bending and I lost hope that I ever learn it in deepth.
Thank you for posting - Go keeps aging like wine! I'm getting into nvim and would like to know how you got nvim tree to toggle in the center instead of a sidebar. Do you mind sharing your nvim config?
Sure, I covered that in my previous video ua-cam.com/video/LbsILONOaiE/v-deo.html here's the link to the configuration: github.com/MarioCarrion/videos/tree/269956e913b76e6bb4ed790e4b5d25255cb1db4f/2023/01/nvim
It depends on the operating system and package manager you use; because I'm using homebrew on MacOS I decided to install it via "go install" and use "direnv" to make it the default one, see the note I added in the beginning in the README and the Makefile for more details: github.com/MarioCarrion/videos/blob/979ac3f5d502249ccfc266fbdf801547c51e24b9/2023/02/03/README.md
thanks for reply! I'm using windows10 and new to go. I'm searching right now how to properly update and hoping similar and as easy like rust "rustup update" but none.
I haven't had a chance to try using Go on Windows, but I want to assume that if you download the official installer and then you use that it "should" be enough.
Beware of v1.20, lint is broken, resulting in panic. Issues have been raised already, so I’m expecting/hoping for a new release in the non too distant future.
Thanks for sharing Go news and creating content for it. Means a lot for the community!
Thanks for the support! Cheers
Thank you bro for summarized the new 1.20 update
Thanks for watching, cheers.
they seem interesting especially the time, context and cover of code. thank you for posting!
Yes, the code coverage for integration testing is a nice addition. Take care.
Excellent video, thanks for sharing!
Thanks for watching Gabriel, stay safe!
The context.WithCancelCause was definitely QoL feature.
This will make it easier to know which part of the code cancels the context by giving appropriate message that attaches to the context itself, rather than using an additional var / chan to store the error / cancellation message . IMO its more verbose & concise that way
Agree, it's something I wasn't expecting.
What is QoL feature?
@@vydo4210 quality of life
Thank you. I need to learn C# for my job, but I want to find time for much more enjoyable language, as Go for example.
You're welcome, honestly it's never bad to know more than one programming language, however I do understand you, writing idiomatic code in any language takes a toll when context switching to another language.
@@MarioCarrion I agree. In my life I learned to some extent C++, C, Python, Common Lisp, Rust, Julia, Go and I have some encounter with Ruby. Also I learn some HTML and CSS, but I forget almost all of that. I believe that you should know more than one language, but I feel that I'm not good at any one of these.
I hope that I can learn C# reasonably well for my job. We also use C++, but its complexity is mind bending and I lost hope that I ever learn it in deepth.
Thank you for posting - Go keeps aging like wine!
I'm getting into nvim and would like to know how you got nvim tree to toggle in the center instead of a sidebar. Do you mind sharing your nvim config?
Sure, I covered that in my previous video ua-cam.com/video/LbsILONOaiE/v-deo.html here's the link to the configuration: github.com/MarioCarrion/videos/tree/269956e913b76e6bb4ed790e4b5d25255cb1db4f/2023/01/nvim
nice to see you again Mario 🤗
Nice seeing you too. Take care.
There is a typo in readme file in 4:04, it should be "mkdir -p" instead of "mkdir -o".
Thanks
Thanks! I fixed it
what is the best way to update? I just uninstall previous version and install the latest am I doing it right?
It depends on the operating system and package manager you use; because I'm using homebrew on MacOS I decided to install it via "go install" and use "direnv" to make it the default one, see the note I added in the beginning in the README and the Makefile for more details: github.com/MarioCarrion/videos/blob/979ac3f5d502249ccfc266fbdf801547c51e24b9/2023/02/03/README.md
thanks for reply! I'm using windows10 and new to go. I'm searching right now how to properly update and hoping similar and as easy like rust "rustup update" but none.
I haven't had a chance to try using Go on Windows, but I want to assume that if you download the official installer and then you use that it "should" be enough.
Beware of v1.20, lint is broken, resulting in panic. Issues have been raised already, so I’m expecting/hoping for a new release in the non too distant future.
Paul by lint do you mean golangci-lint or what tool are you referring to?
@@MarioCarrion yeah you're right, I mean golanggci-lint. I've reverted back to 19.5 and am waiting until there is another v20 release
error wrapping is the most useful feature of the release.
Agree Viktor, good improvement for sure.