Learn To Code
Learn To Code
  • 2 473
  • 3 304 673
☀️🌴 The Ultimate Go Tour #14 ❤️ All About Functions in #golang 🔥
✅LEARN THE GO PROGRAMMING LANGUAGE - FULL COURSE
www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0
In this video, we will learn about functions in the Go programming language.
It covers topics such as modularity, parameters, arguments, syntax, named returns, variadic parameters, unfurling a slice, multiple returns, anonymous functions, closures, type assertion, error checking, defer, and syntactic sugar.
It also includes code examples.
🔥 THE ULTIMATE GO TOUR
tour.ardanlabs.com/tour/eng/list
FREE course outline w/ code samples! 🌴🔆
docs.google.com/document/d/1hcdK7lwoEdKYCmH6iAQ3I7bgTtmqRUZefYlGxmMWqYc/edit?usp=sharing
Here's the repo 😃
github.com/GoesToEleven/learn-to-code-go-version-03
look in the "000-br-bk-go-tour" folder
Bill Kennedy's course 🚀
coupon code: toddmcleod
courses.ardanlabs.com/order?ct=699961ce-b811-45e7-8afc-34df97432eb4
--- or here ---
www.ardanlabs.com/training/individual-on-demand/
Todd McLeod's course 🚀
www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0
zhlédnutí: 842

Video

☀️🌴 The Ultimate Go Tour #13 ❤️ Constants Hands-on Exercise #1 🔥 #golang
zhlédnutí 313Před 10 měsíci
✅LEARN THE GO PROGRAMMING LANGUAGE - FULL COURSE www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0 This video is about Go constants. It discusses typed and untyped constants, and how to declare and assign values to them. 👉 Constants are variables whose values cannot be changed after they are declared. 👉 Constants can be typed or untyped. 👉 Typed constants must be declare...
☀️🌴 The Ultimate Go Tour #12 ❤️ Constants, Types, Kinds, & Numerica Literals 🔥 #golang
zhlédnutí 299Před 11 měsíci
✅LEARN THE GO PROGRAMMING LANGUAGE - FULL COURSE www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0 The video is about constants in Golang. It discusses how constants can be typed or untyped, and how they can be implicitly converted at compile time. The video also discusses numeric literals, which are also untyped constants. Here are some key points from the video: 👉 Cons...
☀️🌴 The Ultimate Go Tour #11 ❤️ Pointers Example 2 🔥 #golang
zhlédnutí 396Před 11 měsíci
✅LEARN THE GO PROGRAMMING LANGUAGE - FULL COURSE www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0 Dive into the Go programming language as we explore pointers, structs, and more! This video is a part of our Ultimate Go Tour series, aiming to deepen your knowledge in #golang Here's the repo 😃 github.com/GoesToEleven/learn-to-code-go-version-03 look in the "000-br-bk-go-t...
Gophercon 2023
zhlédnutí 748Před 11 měsíci
✅LEARN THE GO PROGRAMMING LANGUAGE - FULL COURSE www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0 Gophercon 2023 was great! I had an amazing time. I love the Go community: friendly, welcoming, and fun. Here are some pictures I took at Gophercon. Enjoy! 🚀 Todd McLeod's course www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0 🌴🔆 Message me on LINKE...
☀️🌴 The Ultimate Go Tour #10 ❤️ Pointers Hands-on Exercise 🔥 #golang
zhlédnutí 530Před 11 měsíci
✅LEARN THE GO PROGRAMMING LANGUAGE - FULL COURSE www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0 👋 Welcome back to another episode of our Ultimate Go Tour! 🚀 In this video, we go deep into the world of pointers in Go, with hands-on exercises and detailed explanations to ensure you master this critical concept. 🔍 What’s Inside: - Hands-on exercises with pointers - Pract...
☀️🌴 The Ultimate Go Tour #9 ❤️ What Are Pointers & Nil in #golang 🔥
zhlédnutí 604Před 11 měsíci
✅LEARN THE GO PROGRAMMING LANGUAGE - FULL COURSE www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0 👉 In this video, we'll learn about pointers in Go. We'll cover value semantics, pointer semantics, nil pointer dereference, and more. We'll also go through the ultimate Go tour and learn about variables, struct types, and more. 👉 This video is part of a longer playlist that...
☀️🌴 The Ultimate Go Tour #8 ❤️ Struct Semantics #golang
zhlédnutí 260Před 11 měsíci
✅LEARN THE GO PROGRAMMING LANGUAGE - FULL COURSE www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0 👋 Welcome back to our Ultimate Go Tour series! Today we're focusing more on structs, an essential data structure in Go. We'll take you step-by-step through declaring, initializing, and using structs with hands-on examples. 📋 What You'll Learn: 👉 How to declare a custom stru...
☀️🌴 The Ultimate Go Tour #7 ❤️ Structs: Alignment & Padding 🔥 #golang
zhlédnutí 591Před 11 měsíci
✅LEARN THE GO PROGRAMMING LANGUAGE - FULL COURSE www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0 👋 Welcome to another episode in our Ultimate Go Tour series! Today, we dive deep into the world of Go structs. Whether you're a beginner looking to understand the fundamentals or an advanced coder wanting to optimize your structs with alignment and padding, this video has g...
☀️🌴 The Ultimate Go Tour #6 ❤️ Exploring Variables, Type Conversion, and More! #golang
zhlédnutí 311Před 11 měsíci
✅LEARN THE GO PROGRAMMING LANGUAGE - FULL COURSE www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0 Welcome back to the Ultimate Go Tour! In this episode, we delve deep into the world of Go variables. Whether you're a beginner or an intermediate Go developer, this video is perfect for enhancing your understanding of variable declarations, zero values, type conversion, and...
☀️🌴 The Ultimate Go Tour #5 ❤️ Mastering Variables in Go: Types, Memory, and Best Practices #golang
zhlédnutí 475Před 11 měsíci
✅LEARN THE GO PROGRAMMING LANGUAGE - FULL COURSE www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0 This video looks at the Go programming language, focusing on variables, type conversions, memory management, and the underlying data structures. 📝 Video Highlights Understanding the difference between type conversion and type casting. Static vs. Dynamically Typed Languages....
☀️🌴 The Ultimate Go Tour #4 ❤️ Design Guidelines & Code Reviews
zhlédnutí 706Před 11 měsíci
✅LEARN THE GO PROGRAMMING LANGUAGE - FULL COURSE www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0 🔥 This video introduces design guidelines for coding in the Go programming language aka #golang 😃 Learn about the "Big Four" - Integrity, Readability, Simplicity, and Performance. 🚀 FREE course outline w/ code samples! 🌴🔆 docs.google.com/document/d/1hcdK7lwoEdKYCmH6iAQ3I7bg...
🌴 ☀️ The Ultimate Go Tour #3 ❤️ Creating Your First Pull Request 🚀 #github #golang
zhlédnutí 319Před 11 měsíci
✅ LEARN GIT & GITHUB - FULL COURSE www.udemy.com/course/git-tutorial/?referralCode=E04447563A3AAE45E48E In this tutorial, we're going to walk you through the process of creating your first GitHub pull request. Whether you're new to pull requests or looking for a refresher, join us as we take you through each step. We'll be using the "Ultimate Go Tour" repository as an example. Here's what we'll...
☀️🌴 The Ultimate Go Tour #2.5 ❤️ Time Formatting in #golang ☀️ 01/02 03:04:05PM '06 -0700
zhlédnutí 361Před 11 měsíci
✅LEARN THE GO PROGRAMMING LANGUAGE - FULL COURSE www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0 Today's topic is all about formatting time. 🕒 📌 In this video, we'll learn how to format time in Go. Whether you are creating logs, measuring performance, or building date-based features in your applications, understanding how to format time is crucial. ALSO COOL: you'll se...
☀️🌴 The Ultimate Go Tour #2 ❤️ Understanding Time - #golanguage #golang 😃
zhlédnutí 730Před 11 měsíci
✅LEARN THE GO PROGRAMMING LANGUAGE - FULL COURSE www.udemy.com/course/learn-how-to-code/?referralCode=BE659D12A78B2C0DFFB0 📚 What You'll Learn: ➡️ What Monotonic Time is and why it's crucial in systems ranging from computing to physics. ➡️ How time is divided into units like seconds, deciseconds, centiseconds, milliseconds, microseconds, nanoseconds, and picoseconds, and what each of these unit...
☀️🌴 The Ultimate Go Tour #1 ❤️ Strings, Runes, and Coding Schemes in Go 🚀 #golang
zhlédnutí 2,2KPřed 11 měsíci
☀️🌴 The Ultimate Go Tour #1 ❤️ Strings, Runes, and Coding Schemes in Go 🚀 #golang
❤️ Palindrome Challenge in Go ☀️ #golang 🌴
zhlédnutí 710Před 11 měsíci
❤️ Palindrome Challenge in Go ☀️ #golang 🌴
Understanding Text Encoding in Go: ASCII, Unicode, and utf-8 Explained
zhlédnutí 435Před 11 měsíci
Understanding Text Encoding in Go: ASCII, Unicode, and utf-8 Explained
iota, bitwise operations (bit shifting), measuring bits, & The Go Programming Language #golang
zhlédnutí 368Před rokem
iota, bitwise operations (bit shifting), measuring bits, & The Go Programming Language #golang
Numeral Systems ✅ Binary, Decimal, and Hexadecimal 🚀 Go Programming #golang
zhlédnutí 276Před rokem
Numeral Systems ✅ Binary, Decimal, and Hexadecimal 🚀 Go Programming #golang
Coding Fundamentals: How Computers Work (Go)
zhlédnutí 905Před rokem
Coding Fundamentals: How Computers Work (Go)
🚀 Golang Spell Checker - New Open Source Repo 🌴🔆
zhlédnutí 622Před rokem
🚀 Golang Spell Checker - New Open Source Repo 🌴🔆
Slices & Underlying Arrays - The Go Programming Language
zhlédnutí 960Před rokem
Slices & Underlying Arrays - The Go Programming Language
Essential Golang Interview Questions and Coding Challenges
zhlédnutí 7KPřed rokem
Essential Golang Interview Questions and Coding Challenges
Go Programming: Understanding Common Job Interview Questions
zhlédnutí 478Před rokem
Go Programming: Understanding Common Job Interview Questions
Mastering Go Programming: Interview Questions, Pointers, and More!
zhlédnutí 492Před rokem
Mastering Go Programming: Interview Questions, Pointers, and More!
Go Programming Interview Questions
zhlédnutí 538Před rokem
Go Programming Interview Questions
Go Programming Interview Questions: Mastering Short Declaration Operators
zhlédnutí 609Před rokem
Go Programming Interview Questions: Mastering Short Declaration Operators
Go Programming Interview Questions: Understanding Idioms, Linked Lists, and Founders
zhlédnutí 718Před rokem
Go Programming Interview Questions: Understanding Idioms, Linked Lists, and Founders
Mastering Go Interview Questions: Maps & Generics in Golang
zhlédnutí 1,6KPřed rokem
Mastering Go Interview Questions: Maps & Generics in Golang

Komentáře

  • @ktappdev
    @ktappdev Před 3 dny

    Thanks

  • @D3xter10k
    @D3xter10k Před 7 dny

  • @LOOKYAWEHNOHANDSsoNOWJOURNERCL

    That's LINDSEYS AS ON LIN.-DS.+E.-Y , AS IF FREE FOR ALL. TO HAVE. TO GET. TO SEE. TO TRESSPASS. TO BUY. TO TAKE. TO GIFT. TO DELEGATE. TO ADMJNISTEF. TO DISBURSE. TO DISPURSE. TO HATE. TO LOVE. TO ACCOMPANY. TO FORGE. TO REPLOCATE. TO PRESENT. TO PAST. TO ANYTHING THAT CAN BE DONE. I WAS UNENTENTIONALLY DONATED AS DONE WITH THAT PHASE'D ENFORMATIVELY ABEL TO UTILIZE ITS PRACTICES AT ANY FORESEEN MOMENT. YOURE NOT A MOM. YOURE NOT A MOTH. you've NEVER GUIDED LINDSEY AS I OR ME IN ANYTHING PRODUCTIVE OR OF ANY GOOD PERFORMANCE AT ALL OR ANY SIN MOONS EVOLUTED AS FOR EVER IN ODDS WITH EACH OTHER THE SUN AND MOO. WILL NEVER MEET. THIS IS A PERM. MREP. HUH? GIVE ME MY FUKN MONEY AND MY LIVENED REFEMATED FERAND RE:ZUMERATES. OF SEDDLE AND SETTLE ALIKE. THAYS ALL UNMEANT FIR A MENTAL GUKN TARDER. TARDANT. LIE U. A TYRANT ON ME AS MY ANTENNA.ANTENAT ACTING THIA AS AUNT USING A DEAD WOMANS FUKN NAME AS CYNYHIA AND CINDY ARE NOT SHORT OR SHY OF EACH OTHERIN THOUGHT AS THUGS OR THOD OUT CREDITS AMD ASSETS OF LINDSEYS FROZEN, ASSETS AND CREDIT. STUPID. IS WHAT AND ALL U AS IF ASSETS OF MY UNVEILED SHEWN, X POSED POSITIVES.OF PESIMISTIC OPTOMISTIC AND ACTING AS OP TION TO MISTY GIES ALL LINDSEYS MRI MRI MRO ECCETERAS, ON E.C. AS INCOME. ITS ENCOME. HENCEFORTHE TO LINDSEY. AND SOFORTHE IN SO ON ARENT AS FOUR. OF IV. THAYS 4 IIII. FOUR. IV. IS 4. VI IS 6. SO U TOOK ALL AS STOP 6 LIL'COMO.NDEERD LINDSEY AS LITTLE LINDSEY.BELITTLE LINDSEY. THATS LITE. BE LITED LINDSEY. NOT BE LED. CINDY DROPPED ALL A SEAVESDROPPING OF LISTS TO HER AT AAA WASTE AS,FUTHER VIOLENCE TO LINDSEHY AS 501P HARM. ACCOUNTS CEIVABEL CIEVABLE. ON ALL AS SUSTANED. TAKEN AS OBTAINABLE IN ALL AS D:ISS. ER TAKES TIME AS ODD EVEN, TIES. SPLIT. JOINT. WILL NEVER HAVE A REZULT. NO END TO MY FINANCIAL ACCOUNTS AS ANCIEMT HIS OR LOS ITS A LO HI. AMIDST THIS FUKN FOREGROUNDS AS RUNNINV HUH? RETREAT IS FLAGGED. REF:ER.ENCE WITT EVIDENCE AND AT ODDS THE OPPOSED LITE. DAYLITE IS DAYLITE. NEVER ARE THERE DARK PITCH BLACK DOESNT FIT. LIKE ME AS A TONG.ON THAT PROFILE OF A DOWNE SYNDROME LIAR. DERAILING LINDSEYS LIVENED X PERIENXES AS FIRST WENT FIRES AND PRIORITY GOES AS CRIMSON. CREED. CRIMES.

  • @JacoBluezz
    @JacoBluezz Před 17 dny

    The google doc with the course explanation has been deleted..

  • @RefRed_King
    @RefRed_King Před měsícem

    thx bro finally found a vid where someone explains the words

  • @75hilmar
    @75hilmar Před měsícem

    Surprised this doesn't have more views, makes no sense... 👍

  • @TheBuilder
    @TheBuilder Před měsícem

    I've never seen anyone use "decisecond" or "centisecond" to describe a time unit

  • @HamsterHand777
    @HamsterHand777 Před měsícem

    Great video, thanks for that!

  • @chr1z1001
    @chr1z1001 Před měsícem

    At first I was at PHP, and realize how easy it is using Golang from this Tutorial, same as my colleagues who found out that Golang almost feels like Laravel, APPRECIATE, THANKS! :D

  • @codedusting
    @codedusting Před měsícem

    Thanks. 7 years later, this helped me understand this StripPrefix thing.

  • @fin31337
    @fin31337 Před 2 měsíci

    I believe the explanation is pretty straightforward. When we start the loop, Go creates a `v` variable, which is reassigned with the value from the array/slice on each iteration. After this value is assigned, we change the value in the array/slice, but the `v` variable still holds the previous value. In the newer version of Go, it will create the `v` variable on each iteration, but the explanation remains the same. Thank you for your series of videos. They are cool and in-depth.

  • @CalrosACJ55
    @CalrosACJ55 Před 2 měsíci

    Serious question: why use the whole init() function, when you can just set: var tpl = template.Must(...) from the get go, at time of declaration as a global?

  • @AntonioPaezL
    @AntonioPaezL Před 2 měsíci

    it seems to me like he is h1gh all the time laughing every other word for no reason...

  • @user-rs7fz4qu9u
    @user-rs7fz4qu9u Před 2 měsíci

    are you still alive from covid?

  • @user-rs7fz4qu9u
    @user-rs7fz4qu9u Před 2 měsíci

    Background music is annoying

    • @user-rs7fz4qu9u
      @user-rs7fz4qu9u Před 2 měsíci

      it is great tutorial the music is gone in the important parts

  • @mikelancaster8924
    @mikelancaster8924 Před 2 měsíci

    Thanks!

  • @mikelancaster8924
    @mikelancaster8924 Před 2 měsíci

    Thanks very much!

  • @cbbcbb6803
    @cbbcbb6803 Před 2 měsíci

    How do you handle a sequential flat file with fixed length records and fixed length fields?

  • @zshannp
    @zshannp Před 2 měsíci

    thnaks for the explanation.. i couldn't find a better explanation

  • @manee427
    @manee427 Před 3 měsíci

    very nice clear definition . a value can have more than one type. awsome

  • @WalterOMSD
    @WalterOMSD Před 3 měsíci

    It's crazy to think how far Moore's Law has come, even in the video you mentioned that it may be coming to an end and here we are in 2024 still following it. How much longer do you think we have before we reach the possible limit?

  • @treavorraemer5333
    @treavorraemer5333 Před 3 měsíci

    Great to see you on CZcams Todd! You taught me how to code from complete beginner with your Udemy course on Go a couple of years ago. I had a big idea involving software and tried to create something beautiful that the world could use. The Zen and encouragement you would give throughout made a difference while learning. I noticed some of the comments on Udemy wishing you would just get down to brass tacks and not talk about your life etc. Please ignore them, for someone who was a complete beginner it really helped. Keep at it, as someone who chose Go instead of Python as their first language, I can say you're one of the best teachers there is. Thank you!

  • @user-dc2dm8js3t
    @user-dc2dm8js3t Před 3 měsíci

    Where is the proof you can play guitar though?

  • @Nathan-df9kt
    @Nathan-df9kt Před 3 měsíci

    THANKS BRO

  • @Netvirux
    @Netvirux Před 3 měsíci

  • @kannanmohan4422
    @kannanmohan4422 Před 3 měsíci

    Thanks Todd for all the Golang content in Udemy and here

  • @PetrPopel
    @PetrPopel Před 3 měsíci

    weird set of questions, some of them are ok, a lot of the questions are pretty stupid to ask in an interview , like who is rob pike? does it matter? or centisecond, nanosecond, if you interviewing people please dont ask such questions

  • @dmitrydmitriev2554
    @dmitrydmitriev2554 Před 4 měsíci

    I wish I could add 10 likes in a row. Amazing video, great approach that shades light on some not well explained parts of the Go Modules question in other information sources. Thank you!

  • @cariyaputta
    @cariyaputta Před 4 měsíci

    Please update your Go version.

  • @tameemimamdad6055
    @tameemimamdad6055 Před 5 měsíci

    well explained thank you!

  • @prabhjeetsinghsekhon
    @prabhjeetsinghsekhon Před 5 měsíci

    Freudian code

  • @aubCodes
    @aubCodes Před 5 měsíci

    that was very helpful thank you!

  • @amirhoseynshakeri9617
    @amirhoseynshakeri9617 Před 5 měsíci

    That's a great job! Keep doing the great job! I'm waiting for the upcoming videos! These are amazing for software engineers!

  • @amirhoseynshakeri9617
    @amirhoseynshakeri9617 Před 5 měsíci

    GJ!

  • @marcosissler
    @marcosissler Před 6 měsíci

    Is the [1:3:3] allowed ? I saw in you github that have changed to [1:3]. I love that trick part that the pointer is changing the other. Tks for sharing.

  • @aleksandrasidorenko
    @aleksandrasidorenko Před 6 měsíci

    Thank you so much! It's really helpfull!

  • @XxMissingDataxX
    @XxMissingDataxX Před 6 měsíci

    Can you make a really good video on how to consume api with go?

  • @AndresArias-pm3tn
    @AndresArias-pm3tn Před 7 měsíci

    Do you know anyone comfortable with this stack: Programming Language: Go (Golang) Container Orchestration: Kubernetes Cloud Platform: AWS (Amazon Web Services) let me know

    • @jamshidiyr
      @jamshidiyr Před měsícem

      I think most of go developers work wuth this stack.

  • @gamingbyweek9411
    @gamingbyweek9411 Před 7 měsíci

    Thanks!

  • @TN-kg2lv
    @TN-kg2lv Před 7 měsíci

    Hi Todd, hope all is well. Is the course material still up to date?

    • @ProfessorMcLeod
      @ProfessorMcLeod Před 7 měsíci

      Hi, hope you're doing well! Go is 100% backward compatible, so it is always up to date. Todd

  • @jordanbrooks8164
    @jordanbrooks8164 Před 7 měsíci

    He was my college instructor - best professor ever. He always started class with Ted Talks and was truly passionate about his students success

  • @nobudev
    @nobudev Před 7 měsíci

    Please how do I get the exercise 🙏

  • @raok8332
    @raok8332 Před 7 měsíci

    Stack and heap working in this document ?

  • @codefinity
    @codefinity Před 8 měsíci

    Thanks!

  • @codefinity
    @codefinity Před 8 měsíci

    💯 recommend to each and every one of my students in my college course! 🧑‍🎓

  • @Jarek.
    @Jarek. Před 8 měsíci

    Interfaces inheritance in stdlib (or call it "chaining" if you will) is soo confusing. Even in your video, you're talking about io.Writer 9:06 , then seamlessly at 9:28, without a word of explanation jump to ResponseWriter. Even you sounded a bit confused but eventually concluded with meaningless "so Writer allows you to pass anything in"....

  • @sivaramakrishnanr.7173
    @sivaramakrishnanr.7173 Před 8 měsíci

    good ol times whem atom was still a thing

  • @Simon-xi8tb
    @Simon-xi8tb Před 8 měsíci

    Good content.

  • @ib5316
    @ib5316 Před 8 měsíci

    A sugestion for a course on golang: make one about the standard library, in-depth and with challenges/exercises

  • @riyashussain7406
    @riyashussain7406 Před 8 měsíci

    Great teaching (style)!