(These links are affiliate links--so I make a tiny bit of money if you use them and buy something. Don't worry; it doesn't cost anything extra!! So it is a way you could support this channel.)
So Go version 1.18 is dropping soon, so in this video we will look at how we can use Generics in Go. We will learn how to download and use the Go 1.18 Beta binary along side your already installed Go.
We will also look at the new keyword "any" that can be used in generics and as an argument type in functions.
What do you thing of Generics? Are you looking forward to using them? Or do you not have any real use cases for them? I probably wont use them that much at all.. but the new any keyword will be useful.
You can get the latest version of the Go 1.18 beta here:
https://golang.org/dl/go1.18beta2
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
All code found in this video will be at:
? https://github.com/NerdCademyDev/golang
? Let me know if you have any issues!
⚡️ What else would you like me to cover?
? Always Keep Learning!
? Gopher Character artwork from:
https://github.com/MariaLetta/free-gophers-pack
#nerdcademy #golang #generics
...
https://www.youtube.com/watch?v=sVCQFV5P7_g
In this video tutorial we will learn the basics of Go functions: what is the signature of a functions, what are parameters, what are arguments, what is the return list, and what is the body of a function.
We will then move along and learn how we can pass in a variable number of arguments in a function.
Then we will start to get into a bit more advanced topics: covering recursion in go, anonymous functions, and closures!
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
All code found in this video will be at:
? https://github.com/NerdCademyDev/golang
? Let me know if you have any issues!
⚡️ What else would you like me to cover?
? Always Keep Learning!
? Gopher Character artwork from:
https://github.com/MariaLetta/free-gophers-pack
00:00 Intro
00:27 Basics
06:45 Recursion
08:27 Anonymous Functions
09:52 Closures
#nerdcademy #golang #functions #recursion #closures
...
https://www.youtube.com/watch?v=w2tauAykFZM
Lets' make a simple CLI application to take a file, then search and replace any and all text.
For instance, our file has "text" throughout and we then can replace it with another word.
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
? Programming Laptop
https://kit.co/nerdcademy/framework-laptop
? My Video Kit
https://kit.co/nerdcademy/my-video-kit
? Video Editing PC
https://kit.co/nerdcademy/m1-mac-mini-setup
? Gopher Character artwork from:
https://github.com/MariaLetta/free-gophers-pack
#nerdcademy #golang
...
https://www.youtube.com/watch?v=Eqaoqhufmy0
In this video I share my 5 favorite software engineering books (mainly covering programming languages) and one bonus book.
Books ?:
Design Patterns
https://amzn.to/3ObYTcW
The Go Programming Language
https://amzn.to/3OciPwk
Python Crash Course
https://amzn.to/3aThtbp
C Primer Plus
https://amzn.to/3MSnqD6
JavaScript Definitive Guide
https://amzn.to/3QhDhOs
Atomic Habits
https://amzn.to/39jogLk
Introduction to Algorithms
https://amzn.to/3OcuGuA
Automate the Boring Stuff with Python
https://amzn.to/3zABfmE
These are Amazon Affiliate Links, so anything you purchase using these links helps support this channel--I get a tiny fraction of $ at no extra cost to you.
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
? Everything I use to make vids ⚡️:
https://kit.co/nerdcademy/my-video-kit
All code found in this video will be at:
? https://github.com/NerdCademyDev/golang
...
https://www.youtube.com/watch?v=tJeltIVHEgM
Converting JSON to anything is a pretty common thing to do in any programming language, so in this video we are going to learn how to take JSON from a REST API and convert it into a usable data type in Go: a struct! We will use the encoding/json package found in the standard library.
We will consume 2 REST APIs, one will be a very simple one and then we will consume one that has embedded types that you might typically see.
Documentation for both APIs can be found here:
Cat Facts:
https://catfact.ninja/
Random User:
https://randomuser.me/
All code found in this video will be at:
? https://github.com/NerdCademyDev/golang
? Let me know if you have any issues!
⚡️ What else would you like me to cover?
? Always Keep Learning!
Let's Learn Rust! Today's video we will cover a few basic compound types: tuples, arrays, and vectors. We will go over initializing and using these types!
These allow you to store similar data in one object (such as a group of numbers, strings, booleans, or whatever else you might need!
If you missed the first in the series, you can watch it here:
https://youtu.be/Nz8EIFJnMK8
If you wanna support my channel, you can buy me a coffee:
☕️ https://www.buymeacoffee.com/nerdcademy
Coffee make the code go!!!
All code found in this video will be at:
? https://github.com/NerdCademyDev/rust
? Let me know if you have any issues!
? Always Keep Learning!
...
https://www.youtube.com/watch?v=GZgQu5dh0GY
This video is about getting your own code running in a Docker Container. This is a tutorial for those who are still beginners with Docker. I will show you how to build an image using a Dockerfile, then run that container. In my example, we will be using a very simple Hello World using Go.
Let me know if you have any issues!
What else would you like me to cover?
Until next time...
This video covers introducing setting up a simple HTTP web server in Go! We will set up a couple endpoints are return a string, HTML, and JSON. We will touch on the basics of the http package to include the HandleFunc and ListenAndServe methods. We will also go over a little bit about structs.
Sorry about the phone, I was using it as a timer and it was right next to the microphone. I'll be sure to move it and put it on airplane mode!
All code found in this video will be at:
https://github.com/NerdCademyDev/golang
Let me know if you have any issues!
What else would you like me to cover?
Until next time...