Skip to content
This repository has been archived by the owner on Oct 14, 2019. It is now read-only.

Suggestion: Make type structs global vars #420

Open
Keanu73 opened this issue Jun 4, 2019 · 0 comments
Open

Suggestion: Make type structs global vars #420

Keanu73 opened this issue Jun 4, 2019 · 0 comments

Comments

@Keanu73
Copy link
Contributor

Keanu73 commented Jun 4, 2019

In every API file I see right now, you constantly re-implement the type structs over and over again. Although I don't know if Go has this functionality, it's better to just store the types as one global struct than can be changed when necessary, and prevents any confusion having to update them (like my change #407).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant