Back to Browse

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

4.6K views
Dec 5, 2022
26:29

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/demo-cli - Cobra : https://github.com/spf13/cobra - Creation of a checkout session (payment link) : https://stripe.com/docs/api/checkout/sessions/create?lang=go - 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: https://twitter.com/MaximilienAld - Linkedin : https://www.linkedin.com/in/maximilie...

Download

0 formats

No download links available.

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