Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use of generics to minimize interface{} #271

Open
kishaningithub opened this issue Jan 23, 2024 · 0 comments
Open

Use of generics to minimize interface{} #271

kishaningithub opened this issue Jan 23, 2024 · 0 comments

Comments

@kishaningithub
Copy link

Given generics implementation is now stable in golang it would be great if the methods like

MarshalChan(c <-chan interface{}, out CSVWriter)
func MarshalCSV(in interface{}, out CSVWriter)
``

etc can change their type signature so that consumers don't encounter runtime surprises as much

Thanks in advance!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant