Skip to content

Added JSON support#24

Open
gjvnq wants to merge 1 commit into
nu7hatch:masterfrom
gjvnq:master
Open

Added JSON support#24
gjvnq wants to merge 1 commit into
nu7hatch:masterfrom
gjvnq:master

Conversation

@gjvnq

@gjvnq gjvnq commented Apr 20, 2015

Copy link
Copy Markdown

No description provided.

Comment thread uuid.go
return fmt.Sprintf("%x-%x-%x-%x-%x", u[0:4], u[4:6], u[6:8], u[8:10], u[10:])
}

func (u *UUID) MarshalJSON() ([]byte, error) {

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

the pointer can be nil here right?

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