In previous articles we created an HTTP REST API server, a CLI, a Bot for Discord and even a game for Nintendo Game Boy Advance. Today let's create...
For further actions, you may consider blocking this person and/or reporting abuse
Thanks for the wonderful tutorial! One update here: the gRPC tool for golang has updated its command syntax so as the output form. One big diff here is that instead of single pb file, there will be 2 separate files: one for populating, serializing, and retrieving proto message types, and one for generated client and server code.
see grpc.io/docs/languages/go/quicksta...
Thanks for your comment! I will update it, thx!
Command:
Fails for me with error:
Instead I used:
Thanks Matthew, it seams that the code organisation has changed on cobra side, I'm fixing it in the article :)
Yep it is a miss on Cobra’s side. Their GH does refer to the right command (now), but the cobra.dev site still has the wrong command. Thanks for contributing this piece and for introducing me to Taskfile.
Yes, they changed the way to "go get" the dependencies, good to know :)
Thank you Aurélie! ... and I love your drawing :-)
Thanks Johan :-)
Agreed, keep them coming!
Thanks!
Have you some idea of others episodes?
@aurelievache What I love about your series is that the projects are fun. You are not just exploring the language but what can be done with it. I think the topics below are neat and could fit your series.
• Grpc-web, and or the improbable implementation (improbable-eng/grpc-web)
• Go and web assembly
• Fuzz testing is new and could be neat.
• Not out yet but in go 1.18, generics
Thanks for your ideas! 🙂
I will explore other kind of apps, web assembly is on my list too ^^
Thanks Julien! 😘
One of those developers that explain things unnecessarily complicated. I spent a little over an hour here and learned nothing. Maybe this tutorial is meant for a minority group of "geeks" that like fancy libraries that nobody heard of. Who cares about "cobra".
Literally every developer who writes CLI's in Go uses Cobra. The project has 27k stars in Github (github.com/spf13/cobra) and is used by Docker, helm, skaffold among other popular tools.
Sorry if you job is to write Frontend apps :)
There are many libraries out there that have lots of stars and supported by Docker but not mainstream at all. I don't think I was talking about cobra specifically anyway. Not sure why you were hung up on that. Anyways, pretty confusing tutorial. It's like watching someone going through backendless rather than firestore.
Can you explain the troubles with this step by step tutorial?
Hi @aurelievache this is awesome! Can we expect some how to CLI tools in this series?
Hi
I already show how to create a CLI app in Go.
What kind of CLI tools do you need?
I just missed that post. I will try that out and update you if some good idea pops up. Thanks for creating this series it's very helpful! :D
nice article