correct spelling error for the word suffix

This commit is contained in:
David Wu
2016-10-03 15:20:04 +08:00
parent c2983be903
commit e80eaf12f2

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(