ponzi2 is an open-source stock chart viewer written in Go using OpenGL and GLFW.
I talk about some refactoring I did in ponzi2's controller package which connects the model and the view following the MVC pattern. I tried to refactor the code with separate files, types, and interfaces, so that I could understand it easier later. Let me know what you think about this approach. I think it's a good idea for a hobby project like this to keep a rhythm of a couple changes per week so developing a pattern like this is important!
Like, comment, and sub! Donate to the project or star the project on GitHub!
https://github.com/btmura/ponzi2