Print Formatted Tables to the Terminal with Golang tabwriter package- Golang Core Packages

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

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

  • @a_maxed_out_handle_of_30_chars
    @a_maxed_out_handle_of_30_chars 2 года назад +1

    thanks, this is what I was looking for
    also, the padchar character should a rune containing space i.e ' ', and not string i.e " ", was stuck here as it was not accepting padchar as string

    • @GrowAdept
      @GrowAdept  2 года назад +1

      You are correct, thank you for pointing that out. This will help me when I remake the video someday. I want to make the best content I can, and this helps me to do that. Pinning to top so it can help others.

  • @akshay-kumar-007
    @akshay-kumar-007 12 дней назад

    Thanks for the video

  • @Yanis1
    @Yanis1 3 года назад +2

    Thank you for this great video, i appreciate

    • @GrowAdept
      @GrowAdept  3 года назад +2

      I was unsure of how many people would be interested in this, I'm glad you found it help. Thank you. :)

  • @ankitpare6493
    @ankitpare6493 Год назад

    Hey, i have a use case where in i need to update the table's information recursively, as i am using client-server sse configuration, the problem is that its printing the table everytime in the cli output when i get response from the server.

    • @GrowAdept
      @GrowAdept  Год назад

      To make sure I understand, the user's browser renders the page, then the server pushes an update, then the server code is printing to CLI on the server, correct? If that is the case, there are print statements on lines 31 and 54-58. Try commenting those out or deleting them and see what it does. If that is not the issue let me know. I hope this helps, cheers.