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

Custom convertes of data types that are not in the project scope #239

Open
manuelarte opened this issue Feb 21, 2023 · 0 comments
Open

Custom convertes of data types that are not in the project scope #239

manuelarte opened this issue Feb 21, 2023 · 0 comments

Comments

@manuelarte
Copy link

Imagine I have the following struct

type MyStruct {
  ID mssql.UniqueIdentifier `csv:"id"`
}

GoCSV can't unmarshall the id field because it does not know how to create the mssql.UniqueIdentifier, but I can't create my own converter because that struct is out of my scope, it would be nice to be able to add customs converters in other way.

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