Re:Diving into Go by building a CLI application
by earthboundkid on Friday June 05, 2020 @10:01AM
(#23428614)
I wrote a blog post about my rewrite: https://blog.carlmjohnson.net/post/2020/go-cli-how-to-and-ad...
Re:Diving into Go by building a CLI application
by earthboundkid on Friday May 29, 2020 @03:30PM
(#23354466)
This was a big influence on my thinking: https://npf.io/2016/10/reusable-commands/
Re:Diving into Go by building a CLI application
by earthboundkid on Friday May 29, 2020 @11:09PM
(#23358137)
I rewrote your app in my style: https://github.com/carlmjohnson/go-grab-xkcd/commit/3edd1c70...
In my defence I would like to point that this post was to help beginners get hands on experience writing Go code, adding design patterns or organising the code base to make things "correct" will only confuse a person who has just started to learn Go.
And to be frank, I too don't have much practical knowledge about it. If you don't mind can you point me in the right direction?