Alex Mux
Alex Mux
  • 11
  • 436 517
Building a GO API - No External Packages!
We build a fully functional API in Golang without using any external packages. Learn about request context, authorization and middleware.
Переглядів: 455

Відео

Building A Physics Simulation: Particle Collision
Переглядів 1,2 тис.2 місяці тому
We code a computer physics simulation in code! Particle simulation with the inelastic collision formula.
Go Project: Let's Make a PONG Game in Golang!
Переглядів 2,6 тис.2 місяці тому
We tackle a project in Golang: we make a pong game! We use Ebitengine V2 to create our 2D game.
Write Better GO Code: Composition
Переглядів 1,9 тис.2 місяці тому
In Golang what is composition and how to use it to write better code?
Learn Python Fast: Full Tutorial
Переглядів 1,5 тис.3 місяці тому
This is a full tutorial on learning Python! From start to finish in less than an hour, including a full demo of how to build an api in Python. No fluff, just what you need to know. 0:00 Introduction to Python 3:44 Variables and Basic Data Types 8:20 Advanced Data Types 13:51 Control Structures 19:58 Functions 28:55 Useful Built-In Functions 31:07 Classes 35:44 Installing and Importing Packages ...
Learn VIM Fast: Full Tutorial
Переглядів 3,3 тис.9 місяців тому
Full tutorial on learning to use Vim. Make Vim your new editor, trust me it's worth it ya'll.
Setup Neovim Fast with Awesome Results
Переглядів 6 тис.10 місяців тому
Setup Neovim fast and easy while still creating an efficiency powerhouse. Follow my easy step-by-step guide and get going with Neovim ASAP. My current NVIM setup: github.com/avukadin/nvimSettings/blob/main/init.lua 0:00 Intro 0:14 Kickstart Neovim 1:15 Default Features Overview 3:30 Custom but Essential Plugins
How do Floating Point Numbers Work?
Переглядів 1,7 тис.11 місяців тому
Floats or floating point numbers are represented using IEEE-754 standard. Understanding how this works is an important part of being a software engineer.
Learn GO Fast: Full Tutorial
Переглядів 402 тис.Рік тому
This is a full tutorial on learning Golang! From start to finish in less than an hour, including a full demo of how to build an api in Go. No fluff, just what you need to know. 0:00 Introduction to Golang 6:25 Constants Variables and Basic Data Types 13:14 Functions and Control Structures 19:30 Arrays, Slices, Maps and Loops 26:36 Strings, Runes and Bytes 31:06 Structs and Interfaces 35:18 Poin...
Learn GO Fast: Building an API
Переглядів 15 тис.Рік тому
Building and API in Golang! In the final part of this series, we put what we have learned together and build a working API in GO.

КОМЕНТАРІ

  • @fennfo5039
    @fennfo5039 3 години тому

    great video, just like your other "short and straight to the point" videos. thanks.

  • @Albert-nc1rj
    @Albert-nc1rj 7 годин тому

    I think there is a mistake on 7:31 when we pass clientProfile.Id as a key to our database map, because this is not the key, the key is "user{n}" Instead we should pass clientId from the request I added another value (clientId) to the context in TokenAuthMiddleware func and retrieved it just before updating database map Something like this clientId := r.Context().Value("clientId").(string) db.Database[clientId] = clientProfile And it worked But I don't know if adding several values to a context is a good practice... Overall, nice video, thank you

    • @mr_mux408
      @mr_mux408 3 години тому

      Hey Albert, I am assuming that clientProfile.Id is the same as the key. The key-value pair setup of the database is just and easy way to lookup, kind of like if we created an index on the "Id" field in our database.

  • @PhilipAlexanderHassialis
    @PhilipAlexanderHassialis 11 годин тому

    Very good, very clean! Thank you for packing a lot of useful information in a no-frills, straight-to-the-meat explanation! Is there a chance to augment this with a second part on how to create the Bearer JWT with claims etc in it using *only* standard Go packages?

    • @mr_mux408
      @mr_mux408 11 годин тому

      Good idea I will add that to the list of topics 🙏

  • @samfam5208
    @samfam5208 12 годин тому

    First

    • @mr_mux408
      @mr_mux408 12 годин тому

      Second

    • @samfam5208
      @samfam5208 11 годин тому

      @@mr_mux408 opps we forgot zeroth

  • @machine9792
    @machine9792 День тому

    The most intresting part for me so far is that you can return multiple values without using array.... Magic

  • @Somens8Dworld
    @Somens8Dworld День тому

    go is fucking bad syntax does not look like a modern programming language

  • @shubhamthapa7586
    @shubhamthapa7586 3 дні тому

    this is gold !

  • @nahfamnah
    @nahfamnah 6 днів тому

    Great vid. I wrote some go a couple years but forgot a lot of the nuance. This vid was a great and time-effective refresh 💪

  • @davidsantana0311
    @davidsantana0311 6 днів тому

    love it, thanks for such enlightenment.

  • @WaddleQwacker
    @WaddleQwacker 8 днів тому

    normal people: write characters go devs: you mean runes?

  • @adityagautam4689
    @adityagautam4689 9 днів тому

    which lsp server are you using for go? gopls does not give out such detailed diagnostics for me

  • @LegitBacKd00rNiNJa69
    @LegitBacKd00rNiNJa69 10 днів тому

    13:18

  • @shaswatdas6553
    @shaswatdas6553 11 днів тому

    46:51 untrue for me, increasing dbCall iteration to 10^8, slows it down a LOT; even though CPU is sleeping. Can anyone explain why?

  • @mks-h
    @mks-h 12 днів тому

    THE AUDACITY of not putting any spaces around curly braces and never acknowledging it. Just so you know - it truly drives me nuts, this video is really painful to watch simply because of that. I beg you, please think of "perfectionists" when making videos.

  • @himabindu8086
    @himabindu8086 13 днів тому

    what are your nvim configurations?

  • @redditrepo473
    @redditrepo473 14 днів тому

    Great tutorial, but the typos are killing me...

  • @aFalseHunt
    @aFalseHunt 15 днів тому

    For an hour I tried to understand at least something

  • @emreotay1501
    @emreotay1501 17 днів тому

    Good video!

  • @rmsilva1973
    @rmsilva1973 19 днів тому

    I wonder if powerpoint has a go extension do perform syntax and lint checking. 🤔

  • @TheCommunistRabbit
    @TheCommunistRabbit 21 день тому

    You are like a combination of Fireship and Bro Code

  • @minma02262
    @minma02262 21 день тому

    32:39 for ""owner" struct I have to declare it firs"" before "gasEngine" struct. Otherwise, I get "undefined: owner" error when compiling the code. Seems like forward declaration only works in top scope of the package not inside another func

  • @pirillomatis
    @pirillomatis 22 дні тому

    Heads up: I got an error @23:00 using "var intSlice3 []int32 = make(int32[], 3, 8)". The correct syntax is "var intSlice3 []int32 = make([]int32, 3, 8)"

  • @minma02262
    @minma02262 23 дні тому

    I literally learned go with this video and started programming immediately.

  • @MahdiKarimi-vf7ce
    @MahdiKarimi-vf7ce 24 дні тому

    var intSlice3 []int32 = make(int32[], 3, 8) is wrong ! var intSlice3 []int32 = make([]int32, 3, 8) is the right form "[]int32" instead of int32[]

  • @urbaniv
    @urbaniv 25 днів тому

    Thank you! Very helpful introduction

  • @jafeta.7553
    @jafeta.7553 26 днів тому

    Great video

  • @FM-YAZ
    @FM-YAZ 26 днів тому

    so many line to understand...my head hurts 😅

  • @lesterfernandes5287
    @lesterfernandes5287 29 днів тому

    Very well done with the video Sir. Since I'm an experienced programmer, this is more like my preferred pace. Do continue to put out good stuff, leave links to buy you a coffee/support

  • @Real_kid
    @Real_kid Місяць тому

    Loved it 🔥

  • @deveshmeena2573
    @deveshmeena2573 Місяць тому

    Thank you so much! I can't believe this is available for free. If you ever make a full fledged course I'd love to take it. Your way of teaching is amazing!

  • @dhananjaimvpai
    @dhananjaimvpai Місяць тому

    Thank you so much for this. I mean, coming from a JavaScript background, there is so much boilerplate needed for a simple REST api in go as compared to something with say Express and nodejs. But it seems the performance is beyond comparison too. Guess the tradeoff is between savings in runtime costs and performance over development agility. Will still use JavaScript for quick Hackathon-like scenarios, but go lang seems interesting!

  • @dhananjaimvpai
    @dhananjaimvpai Місяць тому

    At 29:57 did you mean a slice of runes? A but confused since you said array, and you had mentioned earlier that if it is an array it should have [...]?

  • @PSNsoretito2
    @PSNsoretito2 Місяць тому

    did you use to play wow?

  • @Konamech
    @Konamech Місяць тому

    what is wrong with your lines numbers dude

  • @edmundobiglia7840
    @edmundobiglia7840 Місяць тому

    I declare... BANKRUPCYYYYYYYYYYY

  • @emmanuelparvez5234
    @emmanuelparvez5234 Місяць тому

    This is similar to C++

  • @Thecarshow-ry9cq
    @Thecarshow-ry9cq Місяць тому

    wooooooooow you are the best

  • @asifkamal166
    @asifkamal166 Місяць тому

    Why multiplying 25 and 15 giving me 119. When i turned them in int32 from uint8, i got the correct value:375

  • @Maximus98245
    @Maximus98245 Місяць тому

    This is a great tutorial on Go. Is the example project code that build in the end available in GitHub? Thanks!

  • @redditrepo473
    @redditrepo473 Місяць тому

    33:55 i was wondering why it returned "119" until I saw the uint8 typing. My Java brain wasn't meant for this many int types

  • @AliRaza-oc7cg
    @AliRaza-oc7cg Місяць тому

    This is actually the best Golang tutorial on internet. better than the paid ones.

  • @GameZONE-vn
    @GameZONE-vn Місяць тому

    I tried power-point but doesn't work/

  • @LeighBriody
    @LeighBriody Місяць тому

    Best tutorial I have seen, subbed

  • @Aalii6
    @Aalii6 Місяць тому

    👍👍

  • @AchwaqKhalid
    @AchwaqKhalid Місяць тому

    Use *BIGGER* font 💡

  • @music.4215
    @music.4215 Місяць тому

    Amazing content do not stop at all keep going bro

  • @music.4215
    @music.4215 Місяць тому

    1.25 is the sweet spot

  • @alexdefoc6919
    @alexdefoc6919 Місяць тому

    32:10 remained there, learning a lot thx 🔥🔥🔥🔥

  • @fakedevdutt
    @fakedevdutt Місяць тому

    Hey about the chicken and the tofu channel you didnt called the close channel function then how the code didnt end up in DEADLOCK state?

  • @marcmarder
    @marcmarder Місяць тому

    This had everything i needed. On point. Thank you!