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

Change strfmt.DateTime and strfmt.Date types to alias #206

Conversation

aleksandr-vin
Copy link
Contributor

Make consistent to strfmt.Duration type.

Closes #205.

Signed-off-by: Aleksandr Vinokurov aleksandr.vin@gmail.com

   

Make consistent to strfmt.Duration type.

Closes go-swagger#205. But breaks strfmt.DateTime and strfmt.Date use, see
strfmt/date_test.go and strfmt/time_test.go.

Signed-off-by: Aleksandr Vinokurov <aleksandr.vin@gmail.com>
@aleksandr-vin aleksandr-vin force-pushed the 205-unhide-TextMarshaler-and-TextUnmarshaler-interfaces branch from b9c663b to 7e3946e Compare January 12, 2016 23:46
@aleksandr-vin
Copy link
Contributor Author

After adding missed fixes to tests, all seems to be ok

@casualjim
Copy link
Member

:shipit:

casualjim added a commit that referenced this pull request Jan 13, 2016
…nd-TextUnmarshaler-interfaces

Change strfmt.DateTime and strfmt.Date types to alias
@casualjim casualjim merged commit 17ae3a6 into go-swagger:master Jan 13, 2016
This pull request was closed.
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.

Sole TextMarshaler and TextUnmarshaler interfaces are left aside for embedded types
2 participants