README: Fix formatting by adding missing closing backtick.
This commit is contained in:
parent
ae9812cb50
commit
718a04d0a6
@ -48,7 +48,7 @@ in the same directory will create the file `pill_jsonenums.go`, in package
|
|||||||
|
|
||||||
`MarshalJSON` will translate the value of a `Pill` constant to the `[]byte`
|
`MarshalJSON` will translate the value of a `Pill` constant to the `[]byte`
|
||||||
representation of the respective constant name, so that the call
|
representation of the respective constant name, so that the call
|
||||||
`json.Marshal(painkiller.Aspirin) will return the bytes `[]byte("\"Aspirin\"")`.
|
`json.Marshal(painkiller.Aspirin)` will return the bytes `[]byte("\"Aspirin\"")`.
|
||||||
|
|
||||||
`UnmarshalJSON` performs the opposite operation; given the `[]byte`
|
`UnmarshalJSON` performs the opposite operation; given the `[]byte`
|
||||||
representation of a `Pill` constant it will change the receiver to equal the
|
representation of a `Pill` constant it will change the receiver to equal the
|
||||||
|
Loading…
Reference in New Issue
Block a user