Golang Tutorial: Build A Beautiful CLI Todo App With Support for Piping

แชร์
ฝัง
  • เผยแพร่เมื่อ 8 ก.ย. 2024
  • We learned how to build a beautiful command line application in the Go programming language in this short screencast.
    We cover essential topics like working with command line arguments in Go. How to pipe output of another program to your Go application.
    Here are some important links
    The full code is at github.com/joe...
    The ASCII Table Library is at github.com/ale...
    Please support me by subscribing to my channel. Thank you.

ความคิดเห็น • 46

  • @vitorgouveia5378
    @vitorgouveia5378 2 ปีที่แล้ว +78

    You sound like God himself is speaking from the skies and guiding me on building a todo app with go

    • @Jackson_776
      @Jackson_776 2 หลายเดือนก่อน

      And how do you know god sound XD

  • @codelinx
    @codelinx 10 หลายเดือนก่อน +9

    Wow such great content! I really hate how the algorithm only pushes the same old content and same channels over and over. It's hard to fool the algorithm to introduce quality channels. Thanks for the videos.

  • @AmirHosseinHonardust
    @AmirHosseinHonardust 2 ปีที่แล้ว +2

    Thanks for the video. You have a nice deep voice!

  • @iajitpatil
    @iajitpatil ปีที่แล้ว +1

    Thank you for this amazing app! I enhanced it a little bit and started using it to track my daily todos..

  • @bimalsharma6248
    @bimalsharma6248 29 วันที่ผ่านมา

    Great Stuff !!

  • @ikabbite
    @ikabbite 2 ปีที่แล้ว +1

    thanks for this tutorial, im going to practice this

  • @mikeafter5
    @mikeafter5 หลายเดือนก่อน

    Thanks.

  • @bardus_hobus
    @bardus_hobus ปีที่แล้ว

    You, sir, are amazing and I’ve subscribe!

  • @brunon9837
    @brunon9837 5 หลายเดือนก่อน

    Learning how to build a CLI with Snape's voice

  • @andyyarys4467
    @andyyarys4467 2 ปีที่แล้ว +1

    good job, thank You!

  • @programmertelo
    @programmertelo 5 หลายเดือนก่อน

    thanks for sharing

  • @mikkaruru
    @mikkaruru ปีที่แล้ว

    Brilliant!

  • @user-zx3vp8mw7d
    @user-zx3vp8mw7d 2 ปีที่แล้ว +6

    Excellent.
    Is there any go application which doesn't use external library or package ? Go advertises that we shouldn't use external library. Just curious.

    • @Lucas-hh4oh
      @Lucas-hh4oh 2 ปีที่แล้ว +2

      Yes, you can build your own table library but it would be a a lot of work.

    • @EricT43
      @EricT43 10 หลายเดือนก่อน +4

      They don't say that you *shouldn't* use external libraries, but they are not required quite so much as in other languages. Concurrency, networking, http services, JSON encoding, testing, etc. are all in the standard libraries. Most basic application functions can be built without any external packages.

  • @shuaibolayinka7644
    @shuaibolayinka7644 2 ปีที่แล้ว

    Well done sir, able CTO

  • @parkerAmv
    @parkerAmv ปีที่แล้ว

    Wow really great video for practice with Go. Thank you joseph

  • @hanling8489
    @hanling8489 6 หลายเดือนก่อน

    Very useful thankyou

  • @IamJustAlper
    @IamJustAlper ปีที่แล้ว +2

    Which theme are you using?

  • @mikeafter5
    @mikeafter5 2 ปีที่แล้ว

    Thanks

  • @kaivalyashah5634
    @kaivalyashah5634 2 ปีที่แล้ว

    Cool.

  • @bralabala
    @bralabala 2 ปีที่แล้ว +2

    yt algorithm recommended your channel. that for me is a huge deal and I love what you'r doing.
    this is great content; but poor delivery.

    • @zahidulislam2068
      @zahidulislam2068 2 ปีที่แล้ว +2

      You said the content is great. Then, what's the problem?
      Slow?
      -- watch at 1.25x
      Too small letters?
      --- watch in your TV through comcast.
      problem solved

  • @joep2837
    @joep2837 5 หลายเดือนก่อน

    this is awesome. it helped me create my first ever cli program. I plan on making a cli interface for all my planned go projects and this is foundation for prototyping and testing until I learn a gui framework/language. looking to far ahead ... I'd like to pass in a flag with optional or multiple info to place in a struct.
    todo -add name='project A, tscode=spec001.
    any advise on how to do that?

    • @abahjoseph
      @abahjoseph  5 หลายเดือนก่อน

      Thank you for the feedback. Check out this package for handling advanced flags and many more github.com/spf13/cobra

    • @joep2837
      @joep2837 5 หลายเดือนก่อน

      @@abahjoseph thanks!

  • @KrishnanshAgarwal
    @KrishnanshAgarwal 8 หลายเดือนก่อน +1

    which editor ?

  • @mrlectus
    @mrlectus 2 ปีที่แล้ว

    I would try to rewrite this in rust if I have the time

  • @shalmontitre9697
    @shalmontitre9697 2 ปีที่แล้ว +1

    can you please explain how to setup vscode for makefile from scratch i am not able to make it

    • @abahjoseph
      @abahjoseph  2 ปีที่แล้ว +3

      Please note: If you are on Windows, kindly ignore the make command. You can use the regular "go build" or "go run" commands.
      If your code editor is Visual Studio Code, you can access Make using the built-in terminal. Go to the Menu bar -> Terminal -> New Terminal.

    • @shalmontitre9697
      @shalmontitre9697 2 ปีที่แล้ว

      @@abahjoseph thankyou it's working

  • @araromirichie4825
    @araromirichie4825 8 หลายเดือนก่อน

    Weldone boss but when can we have the rest part of it?

    • @abahjoseph
      @abahjoseph  8 หลายเดือนก่อน

      A Todo app with REST API?

  • @mastercode7851
    @mastercode7851 9 หลายเดือนก่อน

    what theme are you using, on the Jetbrains editor please ?

    • @abahjoseph
      @abahjoseph  9 หลายเดือนก่อน +1

      So sorry, this was my old laptop, and I can`t remember exactly the name of the theme. I mostly use the Atom* themes.

    • @mastercode7851
      @mastercode7851 9 หลายเดือนก่อน

      @@abahjoseph i found it its material ui theme

  • @HumanBeingSpawn
    @HumanBeingSpawn 2 ปีที่แล้ว +1

    +1 for JetBrains font.
    What IDE are you using?

  • @lukadjokovitch7040
    @lukadjokovitch7040 2 ปีที่แล้ว +2

    Can I do this in python?

  • @dibyojyotibhattacherjee897
    @dibyojyotibhattacherjee897 2 ปีที่แล้ว

    What's tye name of this theme?

  • @therealslimaddy
    @therealslimaddy 2 ปีที่แล้ว

    What editor you are using ?

    • @abahjoseph
      @abahjoseph  2 ปีที่แล้ว

      VSCode

    • @anuragroy11
      @anuragroy11 ปีที่แล้ว +1

      @@abahjoseph This cannot be VSCode, looks more like GoLand