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 MarshalTOML() if struct has defined a custom marshaler #151

Merged
merged 2 commits into from
Apr 5, 2017

Conversation

carolynvs
Copy link
Contributor

I based tom.Marshaler on the implementation for json.Marshaler.

@pelletier
Copy link
Owner

This is very nice! Thank you for the patch.

@pelletier pelletier merged commit fe206ef into pelletier:master Apr 5, 2017
goldspy98 added a commit to goldspy98/go-toml that referenced this pull request Apr 5, 2017
@carolynvs carolynvs deleted the marshaler-interface branch July 27, 2021 18:14
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.

2 participants