Skip to content

Add HexString#65

Merged
erikjohnston merged 2 commits intomasterfrom
erikj/hex_string
Sep 22, 2017
Merged

Add HexString#65
erikjohnston merged 2 commits intomasterfrom
erikj/hex_string

Conversation

@erikjohnston
Copy link
Member

No description provided.

hex_string.go Outdated
// When the bytes are unmarshalled from JSON they are decoded from hex.
type HexString []byte

// MarshalJSON encodes the bytes as base64 and then encodes the hex as a JSON string.
Copy link
Contributor

Choose a reason for hiding this comment

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

"base64"

Copy link
Contributor

@NegativeMjark NegativeMjark left a comment

Choose a reason for hiding this comment

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

LGTM

@erikjohnston erikjohnston merged commit ce6f476 into master Sep 22, 2017
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