Merge pull request #918 from wuman/spelling-error-for-suffix

correct spelling error for the word suffix
This commit is contained in:
Menghan Li
2016-10-03 10:23:44 -07:00
committed by GitHub

View File

@ -53,8 +53,8 @@ This happens for both `New` and `Pairs`.
### Storing binary data in metadata ### Storing binary data in metadata
In metadata, keys are always strings. But values can be strings or binary data. In metadata, keys are always strings. But values can be strings or binary data.
To store binary data value in metadata, simply add "-bin" surfix to the key. To store binary data value in metadata, simply add "-bin" suffix to the key.
The values with "-bin" surffixed keys will be encoded when creating the metadata: The values with "-bin" suffixed keys will be encoded when creating the metadata:
```go ```go
md := metadata.Pairs( md := metadata.Pairs(