New 2.0.1 release! How is my Go Report Card?

Опубликовано: 03 Январь 2025
на канале: Brian Muramatsu
853
17

Hello folks, Brian here with a bunch of updates on the ponzi2 project.

First, I finally built a new major release for 2.0.1 and uploaded it to GitHub. It’s a major release from version 1 to 2, because I switched from protocol buffers to GOB to store user settings. I switched to GOB, so I could learn about the GOB format. On the bright side, it also allowed me to remove the protocol buffer compiler dependency. On the down side, I didn’t make it backwards compatible, so I had to create this new major release.

To get this version shipped, I had to fix two more things. First, IEX rebranded to IEX Cloud and started requiring API tokens, so I added a command-line flag where you can specify the API token. Until recently, I would just exit the program with an error if the token was missing. Now, it forwards you to ponzi2.io/install where you can learn how to set the flag, so that’s a little better than nothing. The second thing I needed to do was, I had to fix the numbers on the right hand side of the charts.

Next, I also updated the ponzi2.io page. As I mentioned before, there is a new Install page that shows you how to setup the program. I also added a new Gallery page that has some nostalgic screenshots since 2017. You can check out the page by going to ponzi2.io.

Finally, thanks to your stars, feature requests, and bug reports, I was able to score another year of Goland, my favorite editor for Go, for being an “active” open-source project. Recently, I ran the ponzi2 project through the Go Report Card and got an A+! If you’d like to contribute, feel free to improve ponzi2’s grade… it seems there are easy fixes to add comments and reduce code complexity. Speaking of feature requests, I think I’ll focus next on improving the sidebar. I’ve got too many stock now that I need to scroll through...

Thanks for watching. See you later. Bye!

GitHub
https://github.com/btmura/ponzi2

Website
https://ponzi2.io