-
Notifications
You must be signed in to change notification settings - Fork 54
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
Refactor encoding packages to be nested under common package #242
Conversation
why is |
time was moved mainly because it had encoding and decode helpers. :/ though that doesn't fit well with the |
Updates the encoding packages, time, httpbinding, json and xml to all be nested under a common package, encoding
d937999
to
18a5032
Compare
Updates the SDK to depend on the relocated smithy-go httpbinding, json, and xml packages. Depends on aws/smithy-go#242
package smithy | ||
|
||
// The MediaType interface is intended to be implemented by string and | ||
// byte array types whose values can be defined by RFC638 media types. | ||
type MediaType interface { | ||
// Describes the contents of the string or byte array using a media type | ||
// as defined by RFC6838. | ||
MediaType() string | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intentional?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah this type wasn't used at all and was an artifact that was never deleted from an old design.
Updates the encoding packages,
httpbinding
,json
andxml
to all be nested under a common package,encoding