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

Refactor encoding packages to be nested under common package #242

Merged
merged 2 commits into from
Dec 17, 2020

Conversation

jasdel
Copy link
Contributor

@jasdel jasdel commented Dec 16, 2020

Updates the encoding packages, httpbinding, json and xml to all be nested under a common package, encoding

@skotambkar
Copy link
Contributor

why is time under encoding?

@jasdel
Copy link
Contributor Author

jasdel commented Dec 16, 2020

time was moved mainly because it had encoding and decode helpers. :/ though that doesn't fit well with the SleepWithContext. Will take a look at this.

Updates the encoding packages, time, httpbinding, json and xml to all be
nested under a common package, encoding
@jasdel jasdel force-pushed the jasdel/refactorEncodingPkg branch from d937999 to 18a5032 Compare December 16, 2020 21:48
jasdel added a commit to aws/aws-sdk-go-v2 that referenced this pull request Dec 16, 2020
Updates the SDK to depend on the relocated smithy-go httpbinding,
json, and xml packages.

Depends on aws/smithy-go#242
Comment on lines -1 to -9
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
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Intentional?

Copy link
Contributor Author

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.

@jasdel jasdel merged commit 77a8ca7 into master Dec 17, 2020
@jasdel jasdel deleted the jasdel/refactorEncodingPkg branch December 17, 2020 00:11
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