Skip to content

Conversation

emersion
Copy link
Owner

Entity doesn't make it clear that the message can only be consumed once and is inconsistent with Writer.

Entity doesn't make it clear that the message can only be
consumed once and is inconsistent with Writer.
mediaType string
mediaParams map[string]string
}
type Entity = Reader
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you add a comment indicating that this symbol is deprecated and should not be used anymore?

https://go.dev/wiki/Deprecated

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point.

@emersion
Copy link
Owner Author

emersion commented Jan 13, 2025

I'm not quite sure this is worth the churn. In particular, mail.Message and multipart.Part have a design similar to go-message.

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