How to Build a CLI with Go (calling the Stripe HTTP API)

Published: 05 December 2022
on channel: Maximilien Andile
3,972
115

We will build a CLI (Command Line Interface) with Go.
Init the skeleton of the CLI
Add a command
Difference between go get / go install
Installation of Stripe SDK for Go
Add flags to a specific command

Links :
Source code of project: https://github.com/maximilienandile/d...
Cobra : https://github.com/spf13/cobra
Creation of a checkout session (payment link) : https://stripe.com/docs/api/checkout/...
Promptui: https://github.com/manifoldco/promptui

Let's keep in touch:
My book : https://www.practical-go-lessons.com/
My Go Training (32 hours): https://www.practical-go-lessons.com/...
Twitter:   / maximilienald  
Linkedin :   / maximilie.  .


Watch video How to Build a CLI with Go (calling the Stripe HTTP API) online without registration, duration hours minute second in high quality. This video was added by user Maximilien Andile 05 December 2022, don't forget to share it with your friends and acquaintances, it has been viewed on our site 3,972 once and liked it 115 people.