Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Kugelschieber authored Jan 22, 2019
1 parent b95bb47 commit 4e2adc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ type User struct {
```

Notice that the `int64` ID got replaced by the `hide.ID`, which internally is represented as an `int64` as well, but implements the marshal interface.
This allows you to cast between them and use `hide.ID` as an replacement. The resulting JSON changes to the following:
This allows you to cast between them and use `hide.ID` as a replacement. The resulting JSON changes to the following:

```
{
Expand Down

0 comments on commit 4e2adc3

Please sign in to comment.