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

Add (Un)Marshal Text/Binary methods to support json parsing #670

Merged
merged 3 commits into from
Aug 2, 2016

Conversation

aslakknutsen
Copy link
Contributor

This is required by Client to parse Payload with UUID in it.

@aslakknutsen
Copy link
Contributor Author

No idea how this effect the GopherJS client.

"testing"
)

func TestMiddleware(t *testing.T) {

This comment was marked as off-topic.

This comment was marked as off-topic.


// UnmarshalBinary Wrapper over the real UnmarshalBinary method
func (u *UUID) UnmarshalBinary(data []byte) error {
t := uuid.UUID{}

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

This comment was marked as off-topic.

@raphael raphael merged commit db7bfc2 into goadesign:master Aug 2, 2016
raphael pushed a commit that referenced this pull request Aug 3, 2016
)

* Add (Un)Marshal Text/Binary methods to support json parsing

* Add tests and fix impl ;)

* Add local test setup. Add round trip test
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