Learn Go Programming by Building 11 Projects - Full Course

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

КОМЕНТАРІ • 353

  • @AkhilSharmaTech
    @AkhilSharmaTech 2 роки тому +611

    Thanks a lot for featuring me Beau! I hope a lot of people benefit from this content. I am really happy to share all my knowledge.

  • @traviskinchen2265
    @traviskinchen2265 2 роки тому +142

    If using a recent go version (1.17+) you will need to do a "go mod init" in your project directory before using "go get "

    • @AlekseyPopovDev
      @AlekseyPopovDev 2 роки тому +12

      Where have you been... I searched the whole Internet for this knowledge🥲

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

      How ?
      Like running it in a command line ?

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

      @@kareemhameed4042 Yes, run this command in terminal

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

      thank you....searched so much elsewhere when the answer was in the comment section itself

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

      So is it outdated?

  • @subhanjanadhikary7912
    @subhanjanadhikary7912 2 роки тому +61

    Your upload timing is better than youtube's recommendation algorithm.
    You're doing great!
    Highly appreciated..

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

    This video is a gold mine for the go developers! Just get into it, and start digging.

  • @Unknown-ek9gl
    @Unknown-ek9gl 2 роки тому +6

    I've found the job, and there is required Golang, thanks for tutorial. it really helps me to learn.

  • @chefaku
    @chefaku 2 роки тому +9

    For those who are going to use Gorm.
    The func Delete say's: “WARNING If model has DeletedAt field, GORM will only set field DeletedAt's value to current time”
    So the row won't be deleted

    • @vivekgupta309
      @vivekgupta309 Рік тому +2

      db.Unscoped().Where("ID=?", Id).Delete(book)

  • @abhinavr4565
    @abhinavr4565 2 роки тому +16

    Perfect timing! A friend was asking for something to learn and do projects on Go!

  • @sekomer
    @sekomer Рік тому +2

    after the build, you should run the executable, instead you are running "go run main.go" command which does compilation and execution from start, if you are going to call run command you don't have yo build.

  • @ZedusUA
    @ZedusUA 6 місяців тому

    few questions: (2nd proj, crud):
    1) why slice? map["id"] way much better for search?
    2) updateMovie. why delete first? can we just movies[i] = movie?
    3) _ = json.New.... for what purpose we use _ = ? json.New... works fine

  • @joyalmeida6565
    @joyalmeida6565 Рік тому +14

    sometimes the syntax got confusing.. but in those cases chatgpt was of great help.. not to forget, the concepts I am learning while following the video are too awesome! finished lecture 3, 8 more to goooo!

  • @gantushigsaruul2489
    @gantushigsaruul2489 Рік тому

    Thank you for your awesome work! 🔥Гайхалтай заавар бичлэг, прожектууд оруулсанд баярлалаа!

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

    ` is called backtick, or backquote, or acute accent (only the latter is valid name if it is used as a diacritical mark), and on my keyboard it is directly left to backspace and requires Shift and pressing either twice or with Space afterwards (as it is a so called dead key). Caret is another name for circumflex - which is ^ - that can only be used when it is not used as a diacritical mark.

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

      He doesn't know because he's literally just copying pre-done projects verbatim. I can't cite where it was but the first "project" is literally a line for line write of an article/doc I read last night when searching how to do basic routing. It's also why he has 100 YT tabs opened at 21:58 the guy is 100% a fraud lmao

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

    Very clear voice with a clear neutral accent, couple that with this mzing tutorial and you have coders heaven😀😁

  • @mauric440
    @mauric440 Рік тому +3

    I'm really grateful for all the work you expose in this video. I has help me to kick back into go programming. Next time please do not use a mechanical keyboard while recording is quite noisy specially when the video is 8 hours long. Apart from that your work is excellent.

  • @lethatsinkin
    @lethatsinkin Рік тому

    The way you use conditionals with functions, got me thinking. Thanks!

  • @amitabh.online
    @amitabh.online 2 роки тому +23

    Nice !! we can use " mkdir -p pkg/config pkg/controllers pkg/models pkg/routes pkg/utils " to create the folder structure quickly

    • @sarevoker
      @sarevoker 2 роки тому +16

      You can even use shell expansion to make this shorten: mkdir -p pkg/{config,controllers,models,routes,utils}

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

      @@sarevoker Terrific! Thanks a lot for the tips

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

      @@sarevoker wow
      Thanks Diego ❤️

    • @disrael2101
      @disrael2101 10 місяців тому

      why we put in {} and what's the -p for@@sarevoker

    • @consoledoterror971
      @consoledoterror971 8 місяців тому

      Thanks a lot @Amitabh90 @sarevoker

  • @a_maxed_out_handle_of_30_chars
    @a_maxed_out_handle_of_30_chars 2 роки тому +41

    wow, just wow. The timing couldn't be better than this, I've been learning golang from the last week and I was thinking about doing some projects, thanks a lot freecodecamp and akhil sharma for this :)

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

      How long does it take to learn golang? I have already learned Vapor backend.

  • @bharath2508
    @bharath2508 Рік тому

    Wow Akhil Sharma is the best for golang.

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

    Great video for people first learning Go, getting hands on experience in a series of smaller projects is much better than one big one.
    My only advice is with the order. Its very confusing for new people when your second video uses a lot of pointers then it goes into easier ones where it explains the pointers much later. For example, the CRM one you go slower and into more detail than things we have already done previously where the knowledge is assumed.

    • @yatinm9250
      @yatinm9250 Рік тому

      This is because he just joined a bunch of videos from his channel. And there is no particular order.

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

    very nice tutorials !!! I used go mod init and first 2 projects completed very smoothly!!!

  • @adamrhea2339
    @adamrhea2339 2 роки тому +5

    Wow! This is such a good follow up from your previous Go vidoes! I look to starting this when I finish my uni semester.

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

    Go言語の講座の配信ありがとうございます。

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

    Best way to learn new language. Thanks 3000

  • @fakedevdutt
    @fakedevdutt 4 місяці тому

    completed and follow alonged 7 projects till now 4 more to go

  • @budhinanda
    @budhinanda Рік тому +86

    If you are a beginner and want to learn by doing projects then don't watch this video. But if you are a professional GO developer and want to waste your time, you can watch it. He uses databases such as MySQL, SQLite, etc. in the projects but doesn't show how to set them up and connect them to GO programs. He doesn't teach anything that a beginner can understand.

    • @Dekibtw
      @Dekibtw Рік тому +7

      Damn. Any tutorial recommendation for beginner projects?

    • @PhenaZepam-ue2rl
      @PhenaZepam-ue2rl 11 місяців тому

      ​@@Dekibtw
      Search for gophercises you'll practice with real world projects

    • @oktjona
      @oktjona 9 місяців тому

      I signout 😅😅😅

    • @akarshseggemu
      @akarshseggemu 8 місяців тому +1

      I created a tutorial video on to connect to MySQL using docker ua-cam.com/video/tBskp08-3kA/v-deo.html
      I find the video tutorials good as a begineer in Go myself. The missing connection to MySQL is a challenge I had to spend time to understand how to use MySQL and make it accessible in the third project.

    • @Sammysapphira
      @Sammysapphira 6 місяців тому +2

      The tutorial is about go. Not sql. Watch a video for sql if that's what you need.

  • @abhishekbiswasdev
    @abhishekbiswasdev Рік тому +15

    For everyone who are coming to this course without any golang experience I recommend to start with basics because some of the syntax is quite different from other languages. This playlist is quite helpful. Good luck.
    ua-cam.com/play/PLRAV69dS1uWQGDQoBYMZWKjzuhCaOnBpa.html

    • @lethatsinkin
      @lethatsinkin Рік тому

      This playlist is good, I actually started with this. 24-25 videos are quite great but then he just starts jumping and everything seems to fly. I am actually facing lot of issues in grasping the language. Could you suggest any other sources, it would b a great help.

  • @your_name96
    @your_name96 2 роки тому +6

    Akhil Sharma ,you saved my countless hours of useless project building which used repetitive ideas and not much learning.

  • @anmolkarki9133
    @anmolkarki9133 Рік тому

    Thanks a lot @AkhilSharmaTech for these 11 projects. Your contribution is invaluable

  • @matthias2447
    @matthias2447 2 роки тому +92

    Now do this for Rust please. 10 hours of building projects please!

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

      YES ABSOLUTELY!

    • @AkhilSharmaTech
      @AkhilSharmaTech 2 роки тому +37

      alright, i'll do that and take beau's help to host it here

    • @abhinavjha3082
      @abhinavjha3082 2 роки тому +7

      @@AkhilSharmaTech Thanks man, really appreciated

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

      that would be sick!

    • @AkhilSharmaTech
      @AkhilSharmaTech Рік тому +7

      Guys, on my channel, there are more than 20 rust projects there

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

    this channel is reading my mind so hard !! ty ^^ !

  • @bombasticnonsense4247
    @bombasticnonsense4247 Рік тому

    I want to finish this, but the keyboard clicking and clacking is making my head explode. Thanks for recording and posting anyway.

  • @ajay0221
    @ajay0221 11 місяців тому +2

    Is it just me, or other folks also struggled with setting mysql creds in third "bookstore" project.

    • @akarshseggemu
      @akarshseggemu 8 місяців тому +1

      I also struggled so I created a tutorial video on to connect to MySQL using docker ua-cam.com/video/tBskp08-3kA/v-deo.html

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

    Thankyou so much! You dont know how much this matters to me.

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

    Thankyou for the course..I just feel that few concepts are not explained.

  • @dipsagungurung4553
    @dipsagungurung4553 2 роки тому +6

    Lets Go
    Edit 1:
    1 hr into the course;
    beginner friendly, progressive overload of concepts making it very easy to grasp, 10,000 feet view hahaha

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

    The guy at the beginning saying everytime, to take skills to next level, but when I start working on project with some of the technologies presented here, I'm total noob or worst than that.

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

    Nice sir please make vedios of golang for e-commerce level project like organisation level work in golang..

  • @AlazTetik
    @AlazTetik 2 роки тому +5

    Once again, on time, to the point! Thanks FCC!

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

    Thanks a lot for this video.
    I request you to please also add a blog post turials of all the videos they are much faster completed by me

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

    Great video! Thank you! CRUD API with you be easy!Good luck!

  • @micnubinub
    @micnubinub 2 роки тому +6

    Great video. Could you increase the font size on the next one?

  • @VideoNinja117_Plays
    @VideoNinja117_Plays Рік тому +5

    Starts "Learn Go Programming.."
    "btw I'm assuming you know html and that's why I'm not explaining a lot of things"
    BOLD OF YOU TO ASSUME I KNOW ANOTHER LANGUAGE WHILE IN A TUTORIAL FOR GO.
    *Puts on C/C++ dev hat and kicks the door*

    • @VideoNinja117_Plays
      @VideoNinja117_Plays Рік тому +3

      Follow up with Project 3:
      "So here I'm putting my link to local mysql database"
      *looks at string of unexplained characters*
      "And now I'm going to check my database connection on Postman"
      ... *waits for tutorial on setting up database or a link to another tutorial*
      ...
      "SO IN THIS TUTORIAL WE"RE USING SLACK"
      F*** man, make your tutorials self-contained.

    • @Sibixpur
      @Sibixpur 2 місяці тому

      @@VideoNinja117_Plays skill issue

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

    Nice!! This is amazing thank you for this. Love it.

  • @mahendranath2504
    @mahendranath2504 Рік тому

    Thank you so much for such a great content 😍😍👌👌👍👍🙌🙌

  • @carlfranz6805
    @carlfranz6805 2 роки тому +30

    A couple of thoughts:
    1) I've got a 32 inch screen and still cannot clearly read what you are coding. Perhaps use larger font when showing code?
    2) When you move to a terminal, all we see is a blue screen at first. Why not just use the terminal in VS Code which is already on your screen?
    3) What is 'Postman'? I'd never heard of it, so I did some searching and found out. You, on the other hand, assumed everyone had it installed or even could install it.
    4) If you are going to use a tool that only works on Windows, Mac, or Linux on a (amd64, i386) architecture, perhaps you should say so up front. I'm running Linux on an ARM64 core and finding out I can't use the tutorial after an hour of coding is really annoying.
    5) Kind a repeat of item 3... When you mentioned prerequisites, you mentioned GoLang and nothing else. The 'Postman' agent needs to be run locally for it to work that makes it a prerequisite. Just saying. For that matter, you have to have a MYSQL server running for one of your tutorials... This is a VERY common issue with what freeCodeCamp.org produces.
    I've just started learning Go and was excited to see this tutorial. My mistake.
    That said, the fact that he produces a structural diagram of the project before he starts is wonderful. This is absolutely necessary in a 'beginners' tutorial and not nearly enough tutorials have it. I've done technical documentation, chalk talks, and tutorials all my life (I'm 63) and the one thing I never skimp on is pictures/diagrams/etc. Thank you.

    • @hackerprincess8810
      @hackerprincess8810 2 роки тому +11

      You expect every freaking thing Omg.

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

      Could you please. explain how we need to have MySQL runnning?

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

      you cannot clearly read? sir you need some thick glasses

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

      @@jhramirezr the process is explained by someone in the comment section. Please look for it.

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

      1) You could try zooming in the browser. In case of chrome, ctrl + will zoom the screen.
      2) Powershell on windows has much more native capability than PS on the VS. Again, its a personal choice sir. You could choose to use VS Codes terminal.
      3) Postman is a pretty common tool to test and collect the APIs, and its capability to save and help with the environment variables helps a lot. It is given for any level of developer to know of postman sir. No offense.
      4) You could try docker containers running on your machine, if that may help.

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

    Thank you for the content! It is clear and really helpful!

  • @javy1103
    @javy1103 2 роки тому +11

    Several holes here that are hard to understand or not explained at all. First one is why do you use fmt.Printf("Starting server at port 8000
    ") instead of Println. Second one is why do you choose a pointer to Director instead of a value. Third thing is when you are deleting a movie you dont really explain that movies[:index] is really movies from 0 to index-1. These are things that I would consider essential to learning the language. It would probably be a good idea to have some basic knowledge of the language in order to do these projects and fully understand whats going on. Nonetheless, thank you for sharing your knowledge and different takes on using the language in a real and useful way.

    • @thatfatitguy2875
      @thatfatitguy2875 2 роки тому +6

      I don't think there's any holes. You HAVE to know something about Go to do these tutorials.

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

      If you want to keep your array "ordered", you have to shift all of the elements at the right of the deleting index by one to the left, this can be done easily in Golang
      func delete(slice []int, s int) []int {
      return append(slice[:s], slice[s+1:]...)
      }

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

      @@ivanmaxipereyra3361 Great, bro. It really helps

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

    Darkmode lovers... prepair for a blinding at 2:19 HISSS!!! It burns us!

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

    Let Go with GoLang... Go go go

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

    Need this for c++ !!

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

    Let's gooooo. Really wanted to learn go.

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

    the only one worthy of rocking the iverson jersey for this one boss

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

    Excellent video for all the beginners

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

    Could you please make a video about working with Geth please? Thanks

  • @judeharding
    @judeharding 2 роки тому +9

    The project code for the 'Build A CRUD API With Golang' section of the video points to the project code for 'Golang With MYSQL Book Management System' section of the video. Does anyone have the project code for the 'Build A CRUD API With Golang'?

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

    Bookmarked 🔖 now, let's go!

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

    Thanks

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

    thank you!!!
    more golang!

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

    font size is really small, Sorry to to say its long video more than 8 hours, it was interesting but can't see more time.

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

    I will suggest please use Bracket Pair Colorizer, and also dont add all the packages at the very first go. in that way code is cleaner and you only add package when you need them

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

    As a Windows user, I actually like Windows Terminal a lot. The latest version is really awesome. Let's you open multiple types of terminals in different tabs.. etc. HIGHLY RECOMMEND.

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

    Good huge effort

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

    A great help for me.

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

    As a suggestion dont jump between Powershell and VS Code for executing the caamnds. Execute the commands from VS code Terminal itself. Its more productive people who are coding for first time may freak out.

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

    Hey guys who finished the course, how much time did you speng on it, did you like it? Thanks in advance!

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

    My best Chanel

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

    wonderful goes one

  • @杨基根-h7w
    @杨基根-h7w 2 роки тому

    Thanks a lot.

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

    Excellent Akhil :)

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

    Thanks a lot Beau!! That was awesome

  • @celia-cj5py
    @celia-cj5py 2 роки тому

    2:40:06 you installed the slacker package but then you used go mod tidy and since it wasn't used at the point (when you used go mod tidy) it took it out.

  • @DavidBelliveau
    @DavidBelliveau 9 місяців тому +1

    This might have been a great course, but unfortunately the font was too small to read.

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

    Thx, u very explain!)

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

    We need something like this with Java

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

    Perfect timing

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

    Whut????, gaddam!
    Between, can we get 11 projects in c# too??

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

    Why is there no mention that MySQL needs to be running?

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

    Thanks for this

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

    When will there be a updated java tutorial with projects. Like java 8 or java 11

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

    Let's Go!

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

    Good tutorial better than paid ones

  • @ephraimetuk9670
    @ephraimetuk9670 10 місяців тому +1

    for the books mgt system, shouldnt the connection string be - `user:password@tcp(host:port)/database` ??
    When did you create the db ?
    When did you structure the db ?

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

    Hello, cool tutorial, I want to go through it for some reason, the first project does not work for me .. it does not see the files in the static folder

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

    Waiting for this

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

    your merchandise page doesn't have a favicon. May be, the fire logo of your page works?

  • @cristiandumitriu1245
    @cristiandumitriu1245 Рік тому

    How in the world do you remove something using append? What is movies[ index+1: ] ? what means those ':' after index+1?

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

    and pls do tensorflow for c/c++

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

    Nice video

  • @aquual1462
    @aquual1462 2 місяці тому +1

    Ma men worries about us not understanding what MVC is and then writes a bunch of code in a syntax that is not common and doesn't even take the time explain it.

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

    I know this is a Golang tutorial. But I am a surprised of the non-usage of simple shortcuts in VSCode. Like a simple ! with a tab in VSCode would be a shortcut to a basic HTML structure without having to code it manually.

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

      I believe he mentions time and again in the video, that since it is a tutorial he is aiming to let your muscle learn to code. Use it as you find it fit sir.

  • @anhdt19112
    @anhdt19112 Рік тому

    If you go get a module without using it in the project, the go mod tidy will remove it, hence the error in 2:40:35

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

    This is just Live coding and not a course for beginners:)

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

      U r right bro..............................................................................

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

    Let's Gooo!!

  • @TomNook.
    @TomNook. 2 роки тому

    Good going!

  • @daz1uk
    @daz1uk Рік тому

    Thanks for these tutorials. With the CMS section, my app won't start because it can't find the db. We don't seem to specify where the db should exist?

  • @groznybear
    @groznybear Рік тому

    Golang With MYSQL Book Management System is missing DB setup part =( It basically assumes that you already have it set up and running, so you can't immediately run it to test=(

  • @tamerlan5067
    @tamerlan5067 Рік тому

    you need to change your keyboard, it is impossible to listen to you while you are typing something in your keyboard

  • @pawanjumani99
    @pawanjumani99 Рік тому +2

    Can someone tell , in the bookstore project , how is database getting connected , and what is that username password for , like where do i have to signup to get that, and like how do we load github pkg models and all files from github , do i put your(akhil sharama) github url in my project , or do i pull everything from your repo and put it in my repo & then put my github url to load pkg ,models..and all files

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

    In the book management section...When does the init function to start the database get called??
    func init (){
    config.Connect()
    db=config.GetDB()
    db.AutoMigrate(&Book{})
    }

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

    Good video but he skips many important parts. Like setting up AWS, MySQL and such.