Go / Golang Crash Course

Поділитися
Вставка
  • Опубліковано 15 гру 2024

КОМЕНТАРІ • 502

  • @TraversyMedia
    @TraversyMedia  6 років тому +274

    It's a long one :) I wanted to do everything in one video though rather than split videos. This is for anyone at all. You do not need to know anything about Go to follow along, just basic programming concepts
    Video Index:
    Workspace - 1:35
    Hello World - 7:37
    Variable & Types - 11:18
    Packages - 21:43
    Functions - 26:25
    Arrays / Slices - 29:35
    Conditionals - 35:15
    Loops - 41:30
    Maps - 47:27
    Range - 0:53:25
    Pointers - 1:01:23
    Closures - 1:06:48
    Structs - 1:10:54
    Interfaces - 1:26:53
    Web - 1:33:29

    • @HimanshuPal-li7nj
      @HimanshuPal-li7nj 6 років тому +3

      I was searching for this GoLang Crash course from about a week, & at last I got it from the best dev. Instructor on UA-cam (Traversy Media) Thanks Mr. Brad

    • @Fawaz-vn5eg
      @Fawaz-vn5eg 6 років тому

      “fmt” package is pronounced as “fumpt”.

    • @sheneshperera
      @sheneshperera 6 років тому

      Crash course on ASM next please! Would love to see how you approach the theoritical side of getting started with registers, points, static mem etc.
      Plus, there's such a lack of ASM introductory videos in youtube!!!!

    • @bottalk-createalexaskillsa8185
      @bottalk-createalexaskillsa8185 6 років тому

      It would be great if you record a video on a markup language BotTalk - for creating voice applications for Alexa and Google :)

    • @dntwantgglplus
      @dntwantgglplus 6 років тому

      upped my patreon commit from this. you rock brad

  • @greddee
    @greddee 6 років тому +392

    In my honest opinion I feel that you should be getting some of my university teachers salaries. You can really teach, while they only have to teach in order to be eligible to conduct their research and don't really care about teaching. You make a large contribution to me getting the grades that I have gotten in web development courses at university.
    So if you ever have a hard time finding motivation, firstly think of your family and secondly the millions of people you have helped with your videos. I'm forever grateful.
    Greetings from Sweden!

    • @gensaikuroki1793
      @gensaikuroki1793 6 років тому +22

      Some? He should be getting all. My college teaches squat

    • @RunOs3
      @RunOs3 6 років тому +11

      You can't learn this in a University and in my opinion those teachers should be made to work a real job where they don't have tenure to secure their paychecks and they can fired for not doing their job. But I agree that Brad should be getting paid like those teachers at the Universities who sit around writing academic crap instead of doing any real work.

    • @raymondmichael4987
      @raymondmichael4987 6 років тому +6

      Sure, I agree with you guys; but since that won't happen, it's our responsibility now to thank him for the huge amount of time and effort he put. And it's a simple one, we just need to buy his courses (like buy something which for your benefit meanwhile you help our teacher) or we can pay him monthly (simple donation, even 1USD), as a way of saying "thanks dude, we real appreciate this"
      Happy coding guys,
      Greetings from Tanzania

    • @greddee
      @greddee 6 років тому +2

      @@gensaikuroki1793 I've had some great teachers, but I've also had many terrible ones. There's not an absolute, but if you're not in it to teach and make complex theory understandable, then teaching is not for you.
      As with everything, being a good teacher requires a lot of effort. You cannot just repeat a textbook and expect the students to grasp the ideas. The hard part is making complex theory intuitive and easy to understand, something that Brad does, at least for me.

    • @RunOs3
      @RunOs3 6 років тому +2

      @@raymondmichael4987 Never say never. Enrollment at some universities is down and it's making a lot of egg heads nervous. Treehouse, Udemy and Lynda have changed the game in a lot of ways.

  • @iwanpieterse6953
    @iwanpieterse6953 5 років тому +3

    Almost every time I search for a crash course/refresher etc. for any language I've searched so far, I always end up at Traversy. This channel's contribution to my little business has been incredibly valuable in time saved, etc. These lessons are Efficient! Thanks for all the awesome content, Brad.

  • @ruslanuchan8880
    @ruslanuchan8880 6 років тому +41

    Wow! It's really a coincidence. I was bored this afternoon and started learning Go today. Currently learning interfaces.
    EDIT: Watched this before class this morning haha xD Thank you for the vid, Mr. Brad!

  • @eddiecarrasco878
    @eddiecarrasco878 4 роки тому +77

    Very helpful. This helped me prepare for a job interview and I made it to the next round. Thank you!

  • @chrishiew
    @chrishiew 6 років тому +310

    “I just got a flash flood warning on my phone...anyway to create a workspace...”

    • @Tanya-er5yl
      @Tanya-er5yl 6 років тому +21

      the dedicatioon

    • @QuasiUnlimited
      @QuasiUnlimited 5 років тому +3

      ua-cam.com/video/SqrbIlUwR0U/v-deo.html

    • @FordExplorer-rm6ew
      @FordExplorer-rm6ew 5 років тому

      Wish that was me. It never rains it needs to rainn

    • @Natasha-to1mh
      @Natasha-to1mh 5 років тому +2

      Not all flash floods are necessarily dangerous especially if u're inside ur house

    • @faisalxd369
      @faisalxd369 4 роки тому +1

      what an absolute mad lad!!!

  • @AppleDeuceTTV
    @AppleDeuceTTV 2 роки тому +2

    Learning Go without having ever worked with C, your videos are always super efficient and straight to the point. I don't know how much you're making but it needs to be doubled.

  • @wilsonnascimento279
    @wilsonnascimento279 4 місяці тому +1

    From Brazil! Thanks for this crash course. It was perfect for I have a good overview and write codes.

  • @ruarioconnor7874
    @ruarioconnor7874 3 роки тому +1

    The best go course for beginners of the language hands down. Covers the essentials in a quick in formative way. The only course you can do in under 2 hours and actually learn the fundamentals on the language.

  • @xelaju3d
    @xelaju3d 5 років тому +12

    The flow of your teaching is just amazing, straight to the point, thanks for the sharing your knowledge with us

  • @craiggazimbi
    @craiggazimbi 7 місяців тому +2

    Thanks Brad. I understand a lot has changed in Go since you made the video, but this was a good start as a beginner to then get into the Docs to understand what has changed. If you can make an update to the course indicating the areas that have changed that would be great too.

  • @jackhysell
    @jackhysell 5 років тому +7

    This was a great video! I'm starting a Go project at work next week and wanted to familiarize myself a bit. This was perfect.

  • @long-johnsilver2188
    @long-johnsilver2188 6 років тому +1

    Universities take your money and ask you to read, then take tests. The teachers ask you ridiculous obscure questions on the exams & fail you, so that you pay some more. When the students approach them to ask them questions, when couldn't explain like the way you do. You're so fast & have it deep in your brains and your'e organized. You should go teach the teachers in the universities, so that they can teach these poor students. You're an awesome teacher. Thank you very much for the video.

  • @frankchen9264
    @frankchen9264 4 роки тому

    This course it better than the course I took in college. Only 90 minutes, you summarized those most important concept of Golang by plain Englinsh and easy-to-understand code. That's awesome!

  • @edwinifionu7705
    @edwinifionu7705 6 років тому +3

    Another great video Brad. Never stop. You're one of the main reasons I now own a digital agency. Thanks

  • @gopinathkrm58
    @gopinathkrm58 6 років тому

    With all Brad Traversy videos i could simply snap my fingers and all the ERRORS cease to exit. I call that PERFECT.

  • @markharwood6794
    @markharwood6794 Рік тому +1

    Cracking little starter course, many, many thanks :)

  • @Jimbo459
    @Jimbo459 6 років тому +3

    Thank you so much for creating this content, your delivery is brilliant, even making pointers seem a simple concept - keep it up!

  • @danieladetayo3711
    @danieladetayo3711 3 роки тому +1

    Thank you Brad. I have gone through a ton of videos and books, this is the first one that made any sense.

  • @piyushaggarwal5207
    @piyushaggarwal5207 2 роки тому

    I think brad never edits his videos. Just goes with the flow.

  • @yasirlateef8641
    @yasirlateef8641 5 років тому +5

    Cool guy, Awesome content! Thank you. Really appreciate all the efforts and the hours you put in to get this video up here!

  • @TheCarlosAlfaro
    @TheCarlosAlfaro 5 років тому +3

    Made it to the end! Awesome crash course! looking forward to a full course on go, thank you Brad!

  • @gordo8189
    @gordo8189 3 роки тому

    Thanks Brad, your video was a good fit for someone with a lot of programming experience in other languages - my heart sank when I saw YT titles like ‘Golang in 7 hours’. I think I’m ready to rustle up my first Go project (terminal-based Samba config utility for Linux).. Thanks again

  • @yesoreyeram
    @yesoreyeram 6 років тому

    To be honest, liked the video even before watching the content. That's the confidence you built with your previous videos. Thanks Brad for the quality of the contents you are producing.

  • @Jawmeow
    @Jawmeow 5 років тому

    Man you need the Salary Uni professors get. You are one of the best teachers I ever got, maybe think about teaching in schools or unis? I'm always here to support you. You deserve more credit than what you get.

  • @SouthernSeneca
    @SouthernSeneca 3 роки тому +2

    A long video but worth watching. You're always bringing good content, I feel motivated every-time I take a crash course on your channel. May Allah bless you Brad

  • @NguyenNguyen-th2eo
    @NguyenNguyen-th2eo 3 роки тому

    I watched from 00:00:00 to 1:38:41, great content, good for those who familiar with both c++ and js like me. Thank you so much!

  • @arunghanta5066
    @arunghanta5066 3 роки тому

    Thank you! Not a developer but I hear GoLang everywhere these days. Wanted to give it a shot. So I sat through, listened and wrote those demo programs as you wrote in the video simultaneously. Probably this video was made keeping a developer in mind but checks out fine for non-developers too if they want to learn. I just had to stop and do a google search to get an understanding about the developer terminology used. All in all.. A huge thanks and big thumbs up!

  • @mawulijo
    @mawulijo 6 років тому

    yaay. I love your frontend tutorials. You can only imagine the joy in me to see a video from you on my favorite language and you nailed it. Keep this up. A mentor indeed.

  • @sarthakgupta072
    @sarthakgupta072 6 років тому +2

    Thanks a lot, Brad!! It was the third time, I was thinking to start learning a technology, and you came up with a video!! :D

  • @sania09able
    @sania09able 2 роки тому

    thanks a lot Brad! I have followed so many of your crash courses
    your style of explaining things is really simple and to the point
    keep up the good work

  • @jfialkowski
    @jfialkowski 5 років тому +1

    Thanks for the tutorial. Knowing OOP already helped a lot, but your tutorial helped me understand the OOP concepts in golang really well.

  • @dmns
    @dmns 4 роки тому

    Decided to learn Go today and writing my first simple programs now thanks to this great tutorial. Thank you!

  • @briangichohi594
    @briangichohi594 5 років тому +1

    finally we can put a face behind those tutorials! Thank you for all the effort you have contributed!

  • @yashv2000
    @yashv2000 4 роки тому +1

    First thing I learnt is about this transparent terminal. Much needed, Awesome!

  • @twiksify
    @twiksify 2 роки тому

    25:00 With go modules (go.mod) we can import the package using the module name rather than the complete address to the package. That way any feature branch will refer to it's local changes rather than what's currently in the repo.

  • @roaring_cannon
    @roaring_cannon 5 років тому +2

    Thank you so much, Brad. This is exactly what I needed to get started with Go. Nice one!

  • @ahmedmusawir
    @ahmedmusawir 6 років тому +4

    Wow! Doooode … just completed your Node course at Udemy!!! I’ve learned from this one course more than I’ve learned over the last whole year!! Truly awesome work !!! The attention to details, the given care to each block of code and the pace of the Course are so perfect that I don’t think I can learn Technology from anywhere else … God bless you Maaan!! I hope you become the Google of Tech Trainings … you’re almost there though … any new thing I come across I come straight to this UA-cam channel and I always find something with 90% certainty! On that note, plz give us some more ‘Docker Compose’ magic with the MERN stack. Even better, make something comprehensive and put it up on Udemy. I know I’ll buy everything you put up there … cuz your paid stuff is really really goooood and comprehensive. Here is a good suggestion for you, plz choose some platform like teachable.com and start your own thing where you can have fine grain control over your stuff. Udemy kinda sux these days … their video quality is awful and they get stuck pretty often. Anyway, that was my 2 cents … Thanx again with a lifetime of gratitude! (Apologies for being verbose)

  • @asiddiqi123
    @asiddiqi123 5 років тому

    Finished your ReactJS crash course on yesteday and I was wishing to have a Go course by you. Glad to know it was! Thanks Man!!

  • @hunterheston
    @hunterheston 3 роки тому

    Thanks for this. Bought a book and it's great and all. But sometimes a video like this is just easier to learn from than the language site or a big book. Switching from a C++ job to a Go job. Just needed a basic run down and this nailed it.

  • @solomonkyewalabye3572
    @solomonkyewalabye3572 4 роки тому +1

    This is an excellent introduction to Go. Thanks a lot Brad

  • @myverynow
    @myverynow 6 років тому

    not bad at all, thanks!
    4 observations
    1. you may want to describe difference between initialization and assignment
    2. you may want to go to more details about pointers and left dereferenced values
    3. you may want to look into functional programming and make sense of closures in the course
    4. you may want to have a basic understanding of interfaces before teaching about run time polymorphism, as lobotomized as it is in toy languages like go
    thanks

  • @jameszhou20850
    @jameszhou20850 5 років тому +2

    Thank you, Brad. I was able to follow through, and complete the course. I cannot wait to write my first GO program.

  • @bryandolowelch5609
    @bryandolowelch5609 7 місяців тому +1

    im in talks with ceo coo of be feal for backend eng. and this is great and rather simple to learn by your methods of crashing us TVRSTY.. awesome im following

  • @Alessandro-nq3tm
    @Alessandro-nq3tm 6 років тому +3

    Thank you Brad!! Please do more with Go on concurrency , multithreading and multiprocessing

  • @3agamygabr563
    @3agamygabr563 4 роки тому

    not boring enough to close the video, and that means you are a good teacher

  • @daliasawaya6649
    @daliasawaya6649 2 роки тому

    Amazing video! I have an exam tomorrow and this made me feel more ready. you're better than all uni profs for real thank you so much :)

  • @kevinzhang8974
    @kevinzhang8974 6 років тому +1

    Hi Brad: Thanks for offering this ... Coincidentally, I also plan to have a taste of Go/Golang after I completed python in couple of weeks. When I see "pointer" data type in it, I am getting very thrilled ... I had done tons of C programming in my first career ... Pointer and "Pointer of Pointer" are the best useful data type I used in C programming ... Given Go is based on C, Pointer in Go is natural fit for high performance programming ... I will watched this again by coding along with you in couple of weeks. Your channel starts offering many different technology spectrum beside web development (which the root of this channel): Machine Learning via Javascript (e.g. brain.js), go/golang, Python/Django. Whenever I plan to learn anything new, I will immediately search your tube and 90% of time I will find a related crash course to jump start. Thank you again!

  • @prakash.vishwakarma
    @prakash.vishwakarma 6 років тому +1

    You're awesome :) I'm halfway through this video and already got a hang of it. Thanks Brad (y) Cheers!

  • @datdang2492
    @datdang2492 5 років тому +2

    I 've just started learning Go today. Thank you very much for making this tutorial, very helpful (y)

  • @FranciscoRamirez-v3n
    @FranciscoRamirez-v3n 9 місяців тому +1

    I'm watching this on Feb 2024 and it is still a very clear and good resource to know about the general usage of Go. This video helped me to understand more easily other learning resources.
    Please, keep on producing new content

  • @YBWang-pi9qq
    @YBWang-pi9qq 4 роки тому

    Love the way he teaches. Just simple, clear, easy to follow. Such an outstanding tutorial !!!

  • @kanaanbahmani5062
    @kanaanbahmani5062 6 років тому +3

    wow what I just needed, thank you big time man. you are awesome your tutorials made me change my life for the better. now i'm a confident developer thanks to you.

    • @TraversyMedia
      @TraversyMedia  6 років тому +1

      That's awesome, I'm glad I could help

    • @kanaanbahmani5062
      @kanaanbahmani5062 6 років тому

      Traversy Media you're the man, lots of love and respect ❤

  • @turkiothman9619
    @turkiothman9619 6 років тому

    Honestly, you are the best. I learned a lot from you. So grateful for your great work. Thank you very much Brad Traversy

  • @jeremybarnes4740
    @jeremybarnes4740 3 роки тому

    Thanks for this crash course, extremely handy for someone who simply needed to update an existing app.

  • @ShafiMehedic
    @ShafiMehedic 4 роки тому

    Great short course.. Learnt basic of the language in one sitting. Thanks.

  • @yoegyone
    @yoegyone 4 роки тому

    Beautiful teaching style to the point and goes over the main uses in the coding language.

  • @NhatNguyen-yz5tm
    @NhatNguyen-yz5tm 4 роки тому

    This is the first time I've seen this tutorial and I could said it's really good, easy to understand, presented clearly and so funny. "Sometimes the male changes last name" 😂

  • @aryanchatterjee8659
    @aryanchatterjee8659 3 роки тому +1

    These kind of videos are bordering on social service. Thank for the content

  • @tigere01
    @tigere01 6 років тому +1

    Brad Traversy, You my man, are a LEGEND!

  • @Abtinex
    @Abtinex 3 роки тому

    Dude, Been watching your videos recently, Appreciate your efforts on making tutorial vids. Thanks a lot

  • @laendleBricks
    @laendleBricks 6 років тому

    Go for 500k :) Im really happy to see your baby growing Brad :) A big shout-out from germany

  • @krupeshanadkat635
    @krupeshanadkat635 4 роки тому +2

    I made it till the end in two sittings :P, thanks Brad.

  • @madhukarsah9004
    @madhukarsah9004 3 роки тому

    short,simple,swift. Thank you for giving the kick start.

  • @Rhigazi
    @Rhigazi 4 роки тому

    Thanks for the good video, I have never seen a good quick start into a programming language like this one.

  • @LawZist
    @LawZist 6 років тому +9

    great video! an advance Go tutorial will be great (stuff like goRoutine, panic, defer, pipe etc..)

  • @livdev8144
    @livdev8144 5 років тому +1

    really a great intro to Go for beginners like me. Thanks

  • @suryaaris2680
    @suryaaris2680 3 роки тому

    Thankyou Brad. Really appreciate for what have you done.

  • @mxo3212
    @mxo3212 3 роки тому +1

    awesome tutorial and i want to say i really appreciate the way you handle sensitive issues, racism... things and they way you try to not hurt any ones felling thanks

  • @youtubeuseran
    @youtubeuseran 4 роки тому

    Great crash course.. Followed till the end. Thank you very much Brad!

  • @tsigiekumssa4018
    @tsigiekumssa4018 6 років тому +1

    Thanks Brad! I hope you create course in "GO" language soon please. I would like to buy it. I would like to learn it. You are awesome as usual.

  • @crazyoptimist4540
    @crazyoptimist4540 4 роки тому

    Great tutorial for beginners, you rock!
    IMHO, a closure has its own context and all the variables referenced by it keep alive during the closure's life cycle.
    I think it's pretty much similar with the concept of Javascript closure.

  • @zacharythatcher7328
    @zacharythatcher7328 3 роки тому +2

    The package structure in this tutorial seems outdated or possibly broken. I installed go and installed the aws package, but no source code was added. In addition, there is now no way for me to simply install the package that I create without first running ""go mod init source/packagename". Am I correct, or have I just done something wrong?

  • @felixshava822
    @felixshava822 5 років тому

    thanx man, followed your vids and i learned a lot. actually shipped a Laravel School Management API after your "Laravel 5.7 from scratch tutorials"

  • @0abhishekghosh0
    @0abhishekghosh0 5 років тому +3

    Awesome teaching (y) It's immensely helpful. Thanks, Professor !

  • @csprv
    @csprv 6 років тому

    Thanks, very concise course. Exactly what I was looking for w/o any garbage talks around topics like it is for pre-school kids. Recommend it for devs who want to have fast and easy explanation around what Go is and what are the blocks of it.
    PS: Definitely would like to see the full course about Go for Backend development

  • @josuedanielflores2008
    @josuedanielflores2008 6 років тому

    Finished, great crash course to understand the basics of Go!

  • @giftedfingers2580
    @giftedfingers2580 6 років тому

    Good looking Brad on these vids. I dont't know why but I feel like I owe you one.

  • @trofa13
    @trofa13 6 років тому

    Thanks a lot, Brad! You rock! Very useful video, can't wait till you release the new video on Go for REST API! :)

  • @allthatjava
    @allthatjava 4 роки тому

    I am a big fan of yours from the Angular course from Udemy. You truly know how to lead the course, so audience can understand easily. Thank you so much for your dedication. I hope you will create a Golang course on Udemy with deeper insight. I would definitely take that course :)

  • @ScottMackey
    @ScottMackey 2 роки тому

    Know this is old but still a gem, thanks Brad, always awesome content! Helping me with my learning Go language. See what we can do with WASM 🙂

  • @jusumdood4632
    @jusumdood4632 5 років тому

    I'd love to see more videos on Go. So much is being done with Go these days with cloud computing and such.

  • @MartyBallard
    @MartyBallard 4 роки тому

    Amazing video Brad! Keep up the excellent work!

  • @Oswee
    @Oswee 6 років тому +2

    Yeeah!!! Go is my most loved. Creating microservices with gRPC, Kafka and CQRS is so awesome!!! But still watching all those intro courses and every time finding some small gems. Please do more Go stuff.

  • @infilitry
    @infilitry 4 роки тому

    Great tutorial, it was simple, clear and easy to follow...
    Cheers Brad

  • @matteobarbieri2989
    @matteobarbieri2989 6 років тому

    thanks Brad,
    simple as usual (maybe too long for a single video)
    Can't wait for more Go...

  • @sanjayabc12345
    @sanjayabc12345 5 років тому

    Thanks for the training. I completed with all chapters.

  • @MoneyMachines-rc8ig
    @MoneyMachines-rc8ig 4 роки тому

    Thankyou brad. I learn till the end .. Love your simple explanation

  • @pablomendez3590
    @pablomendez3590 6 років тому

    Men, you are really awesome. Thanks for your time to share this. I really appreciate it

  • @andrewstanton2065
    @andrewstanton2065 6 років тому

    Brad (dont know if you will read this) but love the content and hard work you do making the videos. Sat thru the whole video

  • @lukashopfner2155
    @lukashopfner2155 3 роки тому

    Regarding the linting at 1:32: unexport the stucts by lowercase, to get rid of the warning. E.g.:
    type circle struct { ... }

  • @sochima4419
    @sochima4419 5 років тому

    Thanks for the content. Super easy to follow and I think I'm going to continue learning Go!

  • @jxchtajxbt53
    @jxchtajxbt53 3 роки тому

    Excellent video for people on the GO.

  • @jivallejog
    @jivallejog 2 роки тому +1

    Excellent course: just to the point. Thanks!

  • @j.r.rodriguez1755
    @j.r.rodriguez1755 3 роки тому

    Watching in 2021. Finished the video and uploaded to my github as I typed along. Thanks Brad.

    • @chevalier5691
      @chevalier5691 3 роки тому

      Is there any Go version-related problems you encounter?

    • @j.r.rodriguez1755
      @j.r.rodriguez1755 3 роки тому

      @@chevalier5691 I did not encounter any problems. I'm on version 1.15 and also did not follow Brad's folder hierarchy and it still worked without hiccups.

  • @ravibitragunta
    @ravibitragunta 4 роки тому

    Thanks for the basics, Its really helpful in kickstarting Go

  • @szachgr43
    @szachgr43 6 років тому

    awesome video. Thank you Brad for your work ! keep going

  • @yastromo
    @yastromo 5 років тому

    Thanks alot Brad, love the vids and content. Quite helpful in my current coding bootcamp.

  • @harshitjoshi3082
    @harshitjoshi3082 6 років тому

    I don't know how to thank you for such great videos

  • @dijonstreak
    @dijonstreak 2 роки тому

    AWESOME dude. HUGE help. !! thank YOU...SO much a 5 STAR job... i was WAY lost !!