golang-tmdb icon indicating copy to clipboard operation
golang-tmdb copied to clipboard

Struct independent - Better architecture.

Open andrefedev opened this issue 1 year ago • 1 comments

Hello, I would like to ask why you chose to nest structures in a single structure. Instead of creating small structures separated and then be reused. I say this because when it comes to reusing the code, for example, it is mandatory to rewrite all the structs to be able to handle them in small parts. Look for example Genres, ProductionCompanies, SpokenLanguages, MovieCredits (Cast && Crew)...

Screenshot 2024-08-10 at 6 48 08 PM

andrefedev avatar Aug 10 '24 23:08 andrefedev

Hi @andrefedev, in simple words: time. I used a generator a few years ago. Feel free to enhance the project.

cyruzin avatar Aug 19 '24 14:08 cyruzin

I had this issue last year and came back hoping it was fixed. Maybe ill have to fix it myself

Nuxij avatar Dec 01 '24 09:12 Nuxij

@Nuxij @andrefedev

https://github.com/cyruzin/golang-tmdb/releases/tag/v1.7.0

cyruzin avatar Apr 25 '25 18:04 cyruzin