Building a Chat with WebSockets and HTMX in Golang

Поделиться
HTML-код
  • Опубликовано: 1 ноя 2024

Комментарии • 28

  • @swapCode
    @swapCode 8 месяцев назад +4

    Before watching till the end I know I will learn more from this video
    I like your way of explaining things
    Thank you for putting time and effort to make a high-value video about Go.

    • @TiagoTaquelim
      @TiagoTaquelim  8 месяцев назад +1

      Thank you so much for the kind words!
      I'm glad you like them!

  • @thuanquoc1231
    @thuanquoc1231 6 месяцев назад +2

    This is the video that I kept saying "Wtf is he doing? Wtf am I doing?". I literally didn't know a thing about websocket, I didn't know Golang can return 2 values at the same time.
    I'm still clueless but I'm figuring how to show all the current users in the group chat.
    Thank you for this awesome video. Cheers!!!

  • @pogchamper228
    @pogchamper228 8 месяцев назад +2

    Very interesting project. HTMX is cool.

  • @prashlovessamosa
    @prashlovessamosa 8 месяцев назад +2

    Hey Tiago, i have found your channel today thanks for making awesome stuff in public.

  • @bikramsarkar8544
    @bikramsarkar8544 8 месяцев назад

    Thanks Tiago, I just cloned your repo and tried it.

  • @MohammadLsk
    @MohammadLsk 8 месяцев назад +3

    Great content 🔥

  • @gustionusamba90
    @gustionusamba90 6 месяцев назад +2

    Hi Tiago, I have been watching your content for a month and what makes me love with your content are the font and theme you use. Could you tell me which font and theme you use?

    • @TiagoTaquelim
      @TiagoTaquelim  6 месяцев назад +1

      Thank you! The font is either "Menlo" or the JetBrains font. The theme is "Gruvebox".

    • @gustionusamba90
      @gustionusamba90 6 месяцев назад +1

      @@TiagoTaquelim Thank you, it would be nice if you create a paid course on udemy. The way you explain is very easy to understand

    • @TiagoTaquelim
      @TiagoTaquelim  6 месяцев назад +1

      ​@@gustionusamba90 I'm creating something even better, but details are to come in the future!

    • @gustionusamba90
      @gustionusamba90 6 месяцев назад +1

      @@TiagoTaquelim That sounds great. I can't wait

  • @fylip_moreira
    @fylip_moreira 8 месяцев назад +1

    that is amazing!!! so pretty cool! - Do you can did using react js with golang ?

  • @Alex-n1i
    @Alex-n1i 3 месяца назад +1

    Thanks for the great video! I just had a question. How would we implement different rooms that clients can join and only receive messages from users in the same room?

    • @TiagoTaquelim
      @TiagoTaquelim  3 месяца назад +1

      You would store the connections as a map or an array where each key could be a room.
      I've wrote something like that a couple years ago: github.com/sikozonpc/videos2gether/blob/master/services/server/streaming/hub/hub.go#L28

  • @dipaash3068
    @dipaash3068 5 месяцев назад

    Greate Video! I have a question, if we want to save the data in DB, at which point we have to store it in DB?
    Do we have do it in client readPump or else where ? I am bit confused, can you give your insite on it.

  • @lekos1337
    @lekos1337 8 месяцев назад +1

    hey man great video! what's that vscode theme?

    • @TiagoTaquelim
      @TiagoTaquelim  8 месяцев назад +2

      Thank you! It's called gruvbox.

  • @realhuna
    @realhuna 8 месяцев назад

    what is your vscode theme?

  • @DisabledCookie
    @DisabledCookie 8 месяцев назад +2

    This tutorial was hard to understand

  • @gahshunker
    @gahshunker Месяц назад +1

    man, you're just speed typing through the whole thing :)) take some time to explain the reasoning behind, explain the rationale on how you arrived at the decision to write a specific line of code. just saying "i'm creating here a channel" and then proceeding to create a channel, is not very helpful tutorial. that is, if you want to teach us how to think about code, rather than copy pasting code that magically works

    • @TiagoTaquelim
      @TiagoTaquelim  Месяц назад

      Thanks for the feedback.
      Ye that's something I've improved on the most recent videos.

    • @simomed5002
      @simomed5002 7 часов назад

      @@TiagoTaquelim I am new to GO and I did my best to follow up to 22min and got overwhelmed because you did not explain each piece and why you are doing it, so I got lost at the end and unfortunately I have to look for another video explaining this same subject on a simpler way. Thank you for sharing though.

    • @TiagoTaquelim
      @TiagoTaquelim  4 часа назад

      Hey @@simomed5002 , yup I've learned that lesson and improved. But thank you for the feedback tho!
      Good luck 💪