Skip to content

Commit

Permalink
docs: enable syntax highlighting
Browse files Browse the repository at this point in the history
  • Loading branch information
moznion committed May 30, 2020
1 parent 4af06f4 commit 6380988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ ok github.com/moznion/go-json-ice/benchmark 4.287s

For example,

```
```go
type Foo struct {
Hoge string `json:"hoge"`
}
Expand All @@ -125,7 +125,7 @@ In this case, a marshaler for `Bar` tries to marshal `Foo` by `Foo.MarshalJSON()

The easiest way to marshal the struct like the above is the follwoing:

```
```go
//go:generate json-ice --type=Foo
type Foo struct {
Hoge string `json:"hoge"`
Expand Down

0 comments on commit 6380988

Please sign in to comment.