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

Support encoding.TextUnmarshaler #14

Merged
merged 1 commit into from
Sep 10, 2024
Merged

Conversation

leonid-shevtsov
Copy link
Member

https://pkg.go.dev/[email protected]#TextUnmarshaler

TextUnmarshaler is the interface implemented by an object that can unmarshal a textual representation of itself.

As we are essentially dealing exactly with text unmarshalling throughout this library, it makes sense to support TextUnmarshaler and let the consumer implement their own way of interpeting parameter values.

@leonid-shevtsov leonid-shevtsov merged commit d971cf4 into v2 Sep 10, 2024
4 checks passed
@mklocek mklocek deleted the unmarshal-text-support branch September 10, 2024 09:02
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

Successfully merging this pull request may close these issues.

3 participants