Developing a Terminal App in Go with Bubble Tea

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

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

  • @charmcli
    @charmcli Месяц назад +5

    Thank you so much for making a video on Bubble Tea 🥺💕 It's so nice to see people loving CLIs as much as we do!

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

      Thank you for the amazing libraries!

  • @farzadmf
    @farzadmf Месяц назад +4

    Probably the best tutorial I've seen for BubbleTea; thank you!

  • @Luther_Luffeigh
    @Luther_Luffeigh Месяц назад +2

    This channel will go places

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

    Awesome tutorial for bubbletea, I would very much like to see more :)

  • @ricksanchez207
    @ricksanchez207 Месяц назад +5

    this is awesome! do you plan to make full CRUD rest api tutorials with jwt? that wold be awesome! thank you for this!~

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

      Thanks. Sure, this could be an interesting topic

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

    What's the editor you're using?

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

    Muy buen video, saludos desde México 🇲🇽

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

    How do you handle window resizing for clipping text to be more dynamic ?

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

      You can use tea.WindowSizeMsg message type for that and subscribe to it.

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

    Hello, very nice tutorial, but I have one question:
    why we do like so:
    switch msg := msg.(type)
    at the beginig of Update func for model.
    we shadowed msg to it type, but later we accessing actual msg by key := msg.String() - how it possible? thanks in advance.

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

      The switch msg := msg.(type) construct is a powerful technique in Go to determine the dynamic type of an interface value. I found this official Go example - go.dev/tour/methods/16

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

    Great vid, but you should change the title though

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

      Thanks, but what should be the title?

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

    What's the editor you're using?