Reminders CLI app in Go #5 (Command Switch - Part 2)
Welcome back to yet another episode of the Reminders CLI video series where we continue implementing the Command Switch and we use a lot of interesting command line app concepts. In this video we continue with the Reminders CLI Command Switch. We wrap up with the Command Switch functions & create the dummy HTTP Client functionality. In this video like in the previous one we're gonna talk about: ✅ command line parsing ✅ organizing command using a functional approach ✅ interfaces ✅ http client and so much more. Enjoy watching 💻 P.S. This vide is kind of a long video, so have a little bit of patience. 😇 #reminders_cli #golang #go #command_line 00:00 - Intro 01:09 - Finish with the create command 02:14 - Creating the reminderFlags helper 04:50 - Creating the checkArgs helper 07:50 - Creating the parseCmd helper 08:50 - Creating the wrapError helper 10:57 - Fill out BackendHTTPClient interface with methods 12:23 - Use the HTTP client inside the create command 13:39 - Fill out HTTP client with dummy methods 16:09 - Finish with the edit command 17:11 - Create idsFlag custom type 20:15 - Finish with the fetch command 21:17 - Finish with the delete command 22:40 - Finish with the health command 24:44 - Testing all the commands 26:58 - Fix couple of mistakes 27:59 - Outro ✍ RESOURCES: ► https://cmake.org/download/ ► https://github.com/gophertuts/go-basics 🐧 FEEDBACK: ► https://gophertuts.typeform.com/to/j2CJmC 💬 COMMUNITY: ► https://discord.gg/tprewQu 💻 GITHUB: ► https://github.com/gophertuts ► https://github.com/steevehook 💻 Repl.it: ► https://repl.it/@steevehook 💻 Exercism: ► https://exercism.io/profiles/steevehook 📖 Medium: ► http://medium.com/@steevehook 💬 TWITTER: ► https://twitter.com/@steevehook 💬 FACEBOOK: ► https://www.facebook.com/steevehookmd 💬 REDIT: ► https://www.reddit.com/user/steevehook 💬 INSTAGRAM: ► https://instagram.com/steevehook/ ✉️ EMAIL ► [email protected] ⚡ WEBSITE: ► https://www.steevehook.com 🎧 Music: ► https://www.epidemicsound.com/referral/rjj9hr/ ► https://artlist.io/Steve-411836 🎥 Gear used: ► Sony 𝛼7III ► Rode NTG-3 ► Golden Age Project Pre73-JR preamp ______________________________________________________________________________ Software engineering is one of the most accessible fields nowadays, but it's easy to get lost in the huge amount of technologies and ways to approach engineering problems. Lots of languages, frameworks, solutions and ways to be a productive engineer. I share my own experience on what is like to be a software engineer and the skills required to be a productive one. On this channel I share my thoughts, opinions and video tutorials about topics related to a certain technology, to make it easier for you to ultimately make a choice or just get better at software engineering by learning from my mistakes/experience. Make sure to also check out 5m Friday every Friday, where I share my thoughts and opinions about different engineering topics. I'll c you around 😎 Stay tuned! 🚀💻🚀
Download
0 formatsNo download links available.