Building a Chat with WebSockets and HTMX in Golang

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

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

  • @swapCode
    @swapCode 9 месяцев назад +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  9 месяцев назад +1

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

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

    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!!!

  • @KuzyoYaroslav
    @KuzyoYaroslav 22 дня назад +1

    Great content, thank you.

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

    Very interesting project. HTMX is cool.

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

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

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

    Great content 🔥

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

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

  • @gustionusamba90
    @gustionusamba90 7 месяцев назад +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  7 месяцев назад +2

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

    • @gustionusamba90
      @gustionusamba90 7 месяцев назад +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  7 месяцев назад +1

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

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

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

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

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

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

    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 9 месяцев назад +1

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

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

      Thank you! It's called gruvbox.

  • @Alex-n1i
    @Alex-n1i 4 месяца назад +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  4 месяца назад +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

  • @DisabledCookie
    @DisabledCookie 9 месяцев назад +3

    This tutorial was hard to understand

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

    what is your vscode theme?

  • @gahshunker
    @gahshunker 2 месяца назад +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  2 месяца назад

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

    • @simomed5002
      @simomed5002 28 дней назад

      @@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  28 дней назад

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